[PATCH-v2 02/12] target: Add return for se_cmd->transport_complete_callback

2013-08-21 Thread Nicholas A. Bellinger
From: Nicholas Bellinger 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

[PATCH-v2 02/12] target: Add return for se_cmd-transport_complete_callback

2013-08-21 Thread Nicholas A. Bellinger
From: Nicholas Bellinger n...@daterainc.com 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()