+4
-1
drivers/scsi/csiostor/csio_scsi.c
+4
-1
drivers/scsi/csiostor/csio_scsi.c
···
1713
1713
}
1714
1714
1715
1715
out:
1716
-
if (req->nsge > 0)
1716
+
if (req->nsge > 0) {
1717
1717
scsi_dma_unmap(cmnd);
1718
+
if (req->dcopy && (host_status == DID_OK))
1719
+
host_status = csio_scsi_copy_to_sgl(hw, req);
1720
+
}
1718
1721
1719
1722
cmnd->result = (((host_status) << 16) | scsi_status);
1720
1723
cmnd->scsi_done(cmnd);