From: Armen Baloyan Date: Wed, 21 Nov 2012 07:39:53 +0000 (-0500) Subject: [SCSI] qla2xxx: Properly set result field of bsg_job reply structure for success... X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~22^2~28 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=63ea923a97cb0d78efcbbd229950e101588f0ddb;p=pandora-kernel.git [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 Signed-off-by: Armen Baloyan Signed-off-by: Saurav Kashyap Cc: #3.7 Signed-off-by: James Bottomley --- Reading git-diff-tree failed