Skip to contentSkip to conversation

iscsi: pass SCSI status back for SG_IO

PATCH New Paolo Bonzini 1 participant 1 message May 19, 2016 Block layer

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 iscsi: pass SCSI status back for SG_IO

From: Vadim Rozenfeld <[email protected]>

---
 block/iscsi.c | 1 +
 1 file changed, 1 insertion(+)
block/iscsi.c +1 -0
index 10f3906..2ca8e72 100644
@@ -761,6 +761,7 @@ iscsi_aio_ioctl_cb(struct iscsi_context *iscsi, int status,
     acb->ioh->driver_status = 0;
     acb->ioh->host_status   = 0;
     acb->ioh->resid         = 0;
+    acb->ioh->status        = status;
 
 #define SG_ERR_DRIVER_SENSE    0x08
 
Signature · 1 line
2.5.5