Messages in this thread | | | Subject | Re: [PATCH v2] scsi: sg: fix SG_DXFER_FROM_DEV transfers | From | "Martin K. Petersen" <> | Date | Wed, 12 Jul 2017 17:17:59 -0400 |
| |
Johannes,
> SG_DXFER_FROM_DEV transfers do not necessarily have a dxferp as we set > it to NULL for the old sg_io read/write interface, but must have a > length bigger than 0. This fixes a regression introduced by commit > 28676d869bbb ("scsi: sg: check for valid direction before starting the > request")
Applied to 4.13/scsi-fixes. Thank you!
-- Martin K. Petersen Oracle Linux Engineering
| |