commit | 9ec1e1ce3a0f854b9150e7888a373392fbbe7442 | [log] [tgz] |
---|---|---|
author | Sagi Grimberg <sagig@mellanox.com> | Wed Jul 08 17:58:53 2015 +0300 |
committer | Nicholas Bellinger <nab@linux-iscsi.org> | Thu Jul 23 22:11:08 2015 -0700 |
tree | dd5ef3edbd8a56455f2cf07337e38e7d74a3e041 | |
parent | 7708c1656552ddd60b9b9df3a9ee156acd1801ba [diff] |
target: Use scsi helpers to build the sense data correctly Instead of open coding the sense buffer construction, use scsi scsi_build_sense_buffer() and scsi_set_sense_information() helpers which moved to scsi_common. Signed-off-by: Sagi Grimberg <sagig@mellanox.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Hannes Reinecke <hare@suse.de> Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>