summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/sd.c
diff options
context:
space:
mode:
authorArmen Baloyan <armen.baloyan@qlogic.com>2012-11-21 02:39:53 -0500
committerJames Bottomley <JBottomley@Parallels.com>2012-11-30 09:34:44 +0000
commit63ea923a97cb0d78efcbbd229950e101588f0ddb (patch)
tree604d6893f8a91b7ff228f2d56d6d2c8a9a6b5025 /drivers/scsi/sd.c
parent691e3d3175daff73d9b1771bf79ab032fdcec5a5 (diff)
downloadlinux-stable-63ea923a97cb0d78efcbbd229950e101588f0ddb.tar.gz
linux-stable-63ea923a97cb0d78efcbbd229950e101588f0ddb.tar.bz2
linux-stable-63ea923a97cb0d78efcbbd229950e101588f0ddb.zip
[SCSI] qla2xxx: Properly set result field of bsg_job reply structure for success and failure.
FC transport on receiving bsg_job submission failure, calls bsg_job->job_done() and sets the bsg_job->reply->result the returned value. In contrast, when the success code (0) is returned fc transport doesn't call bsg_job->job_done() and doesn't populate bsg_job->reply->result. Signed-off-by: Steve Hodgson <steve@purestorage.com> Signed-off-by: Armen Baloyan <armen.baloyan@qlogic.com> Signed-off-by: Saurav Kashyap <saurav.kashyap@qlogic.com> Cc: <stable@vger.kernel.org> #3.7 Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/sd.c')
0 files changed, 0 insertions, 0 deletions