[prev in list] [next in list] [prev in thread] [next in thread]
List: linux-scsi
Subject: [PATCH 05/13] libfc: rename target reset
From: michaelc () cs ! wisc ! edu
Date: 2008-06-29 18:23:55
Message-ID: 1214763843-5548-6-git-send-email-michaelc () cs ! wisc ! edu
[Download RAW message or body]
From: Mike Christie <michaelc@cs.wisc.edu>
Rename target reset function to lun reset because that is what it sends.
Also make it static because it is not exported and not used in other
files.
Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
---
drivers/scsi/libfc/fc_scsi.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/scsi/libfc/fc_scsi.c b/drivers/scsi/libfc/fc_scsi.c
index a438aa0..ec7f3dd 100644
--- a/drivers/scsi/libfc/fc_scsi.c
+++ b/drivers/scsi/libfc/fc_scsi.c
@@ -1128,10 +1128,10 @@ retry:
}
/*
- * Scsi target reset handler- send a LUN RESET to the device
+ * Scsi device reset handler- send a LUN RESET to the device
* and wait for reset reply
*/
-int fc_target_reset(struct fc_lport *lp, struct fc_scsi_pkt *fsp)
+static int fc_lun_reset(struct fc_lport *lp, struct fc_scsi_pkt *fsp)
{
unsigned long flags;
u32 idx;
@@ -2115,7 +2115,7 @@ int fc_eh_device_reset(struct scsi_cmnd *sc_cmd)
/*
* flush outstanding commands
*/
- rc = fc_target_reset(lp, sp);
+ rc = fc_lun_reset(lp, sp);
sp->state = FC_SRB_FREE;
fc_scsi_pkt_free(sp);
}
--
1.5.4.1
--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic