]> git.baikalelectronics.ru Git - kernel.git/commit
libiscsi: Use scsi helper to set information descriptor
authorSagi Grimberg <sagig@mellanox.com>
Wed, 15 Jul 2015 07:55:39 +0000 (10:55 +0300)
committerNicholas Bellinger <nab@linux-iscsi.org>
Fri, 24 Jul 2015 05:55:27 +0000 (22:55 -0700)
commit3f11de471936457b6c03d8fc65d766e7471b2952
tree6bd329d885c1b708464e42f4589a82e0a86dcae0
parent426e16cb2425a1ce5e120501ed421950006e2a1f
libiscsi: Use scsi helper to set information descriptor

In case encountered a PI error, use scsi_set_sense_information
instead of open coding information descriptor format.

Signed-off-by: Sagi Grimberg <sagig@mellanox.com>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/scsi/libiscsi.c