commit | c252f003470a99d319db4ebd12f4a9e4710a65db | [log] [tgz] |
---|---|---|
author | Nicholas Bellinger <nab@linux-iscsi.org> | Thu Sep 29 14:22:13 2011 -0700 |
committer | Nicholas Bellinger <nab@linux-iscsi.org> | Mon Oct 24 03:20:12 2011 +0000 |
tree | 4874bcd5c62a8c45750c8e28ace14fa8c717e6ed | |
parent | 77039d1eafbbc192df71ee84b157b8973766737d [diff] |
target: Prevent transport_send_task_abort when CHECK_CONDITION status This patch fixes a bug where transport_send_task_abort() could be called during LUN_RESET to return SAM_STAT_TASK_ABORTED + tfo->queue_status(), when SCF_SENT_CHECK_CONDITION -> tfo->queue_status() has already been sent from within another context via transport_send_check_condition_and_sense(). Cc: stable@kernel.org Signed-off-by: Nicholas Bellinger <nab@risingtidesystems.com>