]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitceef25af1812939c27d7ad58471cbab0758e9d1e
tree226d6282b93e444a142c3feedc741e4d180f5ea9
parent0788792a3fdd17db2f341ab48bc4476859519afe
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