* [PATCH]: [scsi_dh] Initialize lun_state in check_ownership()
@ 2008-08-13 0:26 Chandra Seetharaman
0 siblings, 0 replies; only message in thread
From: Chandra Seetharaman @ 2008-08-13 0:26 UTC (permalink / raw)
To: Linus Torvalds, James.Bottomley; +Cc: linux-scsi, Hannes Reinecke, Yanqing_Liu
lun_state need to be initialized inside check_ownership().
Signed-off-by: Chandra Seetharaman <sekharan@us.ibm.com>
---
drivers/scsi/device_handler/scsi_dh_rdac.c | 1 +
1 file changed, 1 insertion(+)
Index: linux-2.6.27-rc1/drivers/scsi/device_handler/scsi_dh_rdac.c
===================================================================
--- linux-2.6.27-rc1.orig/drivers/scsi/device_handler/scsi_dh_rdac.c
+++ linux-2.6.27-rc1/drivers/scsi/device_handler/scsi_dh_rdac.c
@@ -386,6 +386,7 @@ static int check_ownership(struct scsi_d
int err;
struct c9_inquiry *inqp;
+ h->lun_state = RDAC_LUN_UNOWNED;
err = submit_inquiry(sdev, 0xC9, sizeof(struct c9_inquiry), h);
if (err == SCSI_DH_OK) {
inqp = &h->inq.c9;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-08-13 0:27 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-13 0:26 [PATCH]: [scsi_dh] Initialize lun_state in check_ownership() Chandra Seetharaman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox