diff options
author | Armen Baloyan <armen.baloyan@qlogic.com> | 2012-11-21 02:39:53 -0500 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2012-11-30 09:34:44 +0000 |
commit | 63ea923a97cb0d78efcbbd229950e101588f0ddb (patch) | |
tree | 604d6893f8a91b7ff228f2d56d6d2c8a9a6b5025 /net/sctp/socket.c | |
parent | 691e3d3175daff73d9b1771bf79ab032fdcec5a5 (diff) |
[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 'net/sctp/socket.c')
0 files changed, 0 insertions, 0 deletions