diff options
author | Roland Dreier <roland@purestorage.com> | 2012-11-16 20:06:16 +0400 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2012-11-18 01:35:44 +0400 |
commit | 3ea160b3e8f0de8161861995d9901f61192fc0b0 (patch) | |
tree | 13d24cf41697af4ca18b85789b80b6488e2b1005 /scripts/.gitignore | |
parent | 3d70f8c617a436c7146ecb81df2265b4626dfe89 (diff) | |
download | linux-3ea160b3e8f0de8161861995d9901f61192fc0b0.tar.xz |
target: Fix handling of aborted commands
- If we stop processing an already-aborted command in
target_execute_cmd(), then we need to complete t_transport_stop_comp
to wake up the the TMR handling thread, or else it will end up
waiting forever.
- If we've a already sent an "aborted" status for a command in
transport_check_aborted_status() then we should bail out of
transport_send_task_abort() to avoid freeing the command twice.
Signed-off-by: Roland Dreier <roland@purestorage.com>
Cc: stable@vger.kernel.org
Signed-off-by: Nicholas Bellinger <nab@risingtidesystems.com>
Diffstat (limited to 'scripts/.gitignore')
0 files changed, 0 insertions, 0 deletions