Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi

Pull SCSI fix from James Bottomley:
"One obvious fix for a ciostor data corruption on error bug"

* tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi:
scsi: csiostor: fix missing data copy in csio_scsi_err_handler()

+4 -1
+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);