]> git.baikalelectronics.ru Git - kernel.git/commit
[SCSI] qla2xxx: Prep zero-length BSG data-transfer requests.
authorAndrew Vasquez <andrew.vasquez@qlogic.com>
Thu, 9 Feb 2012 19:15:44 +0000 (11:15 -0800)
committerJames Bottomley <JBottomley@Parallels.com>
Sun, 19 Feb 2012 14:20:10 +0000 (08:20 -0600)
commit1c882760d1d6a1fcaafcdb7b5a1768b8c0098242
tree26425e563c6b2fa04816282fb01e23cc582ad73f
parentbc7c0f5948870c467963dbefde4cc8d723d2264f
[SCSI] qla2xxx: Prep zero-length BSG data-transfer requests.

During command failure/non-recognition, the upper-layer
FC-transport expects the drivers to set
job-reply->reply_payload_rcv_len.  Do this in a consistent manner
to avoid duplication.

Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com>
Signed-off-by: Chad Dupuis <chad.dupuis@qlogic.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/qla2xxx/qla_bsg.c