target: call transport_check_aborted_status from target_execute_cmd
authorChristoph Hellwig <hch@infradead.org>
Sun, 8 Jul 2012 19:58:40 +0000 (15:58 -0400)
committerNicholas Bellinger <nab@linux-iscsi.org>
Tue, 17 Jul 2012 00:35:16 +0000 (17:35 -0700)
commitd59a02b4ebe6fe5ac42b702f1ced6368ced78d76
tree226d6282b93e444a142c3feedc741e4d180f5ea9
parent70baf0ab3b2608727515086bee4c484a93e22880
target: call transport_check_aborted_status from target_execute_cmd

When we call target_execute_cmd for write commands the command has been
on the state list before an abort might have come in before
target_execute_cmd.  Call transport_check_aborted_status to deal with
this case.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/target_core_transport.c