target: Add DIF sense codes in transport_generic_request_failure
authorNicholas Bellinger <nab@linux-iscsi.org>
Sun, 23 Feb 2014 14:04:09 +0000 (14:04 +0000)
committerNicholas Bellinger <nab@linux-iscsi.org>
Mon, 24 Feb 2014 00:31:24 +0000 (16:31 -0800)
commit94387aa7cec8c5386b405b852cf3e5be38456fc7
tree74b35f0dbf244a5a5f982182bac54ff5d768a3b2
parent10762e80489e73e2d52bf78e0869f253f42821bd
target: Add DIF sense codes in transport_generic_request_failure

This patch adds the three missing DIF related sense codes within
transport_generic_request_failure(), which are required to ensure
that the correct ASC/ASQC is generated by the subsequent call to
transport_send_check_condition_and_sense().

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