diff options
author | Nicholas Bellinger | 2013-08-19 23:34:17 +0200 |
---|---|---|
committer | Nicholas Bellinger | 2013-09-09 23:29:26 +0200 |
commit | a6b0133c19af1ab268ed1f4414efa2782896a870 (patch) | |
tree | ad55c8b08d283a8cf1fa2b3ae6d9a8b0b02b8677 /init/initramfs.c | |
parent | scsi: Add CDB definition for COMPARE_AND_WRITE (diff) | |
download | kernel-qcow2-linux-a6b0133c19af1ab268ed1f4414efa2782896a870.tar.gz kernel-qcow2-linux-a6b0133c19af1ab268ed1f4414efa2782896a870.tar.xz kernel-qcow2-linux-a6b0133c19af1ab268ed1f4414efa2782896a870.zip |
target: Add return for se_cmd->transport_complete_callback
This patch adds a sense_reason_t return to ->transport_complete_callback(),
and updates target_complete_ok_work() to invoke the call if necessary to
transport_send_check_condition_and_sense() during the failure case.
Also update xdreadwrite_callback() to use this return value.
Cc: Christoph Hellwig <hch@lst.de>
Cc: Hannes Reinecke <hare@suse.de>
Cc: Martin Petersen <martin.petersen@oracle.com>
Cc: Chris Mason <chris.mason@fusionio.com>
Cc: James Bottomley <JBottomley@Parallels.com>
Cc: Nicholas Bellinger <nab@linux-iscsi.org>
Signed-off-by: Nicholas Bellinger <nab@daterainc.com>
Diffstat (limited to 'init/initramfs.c')
0 files changed, 0 insertions, 0 deletions