From: Nicholas Bellinger Date: Thu, 29 Sep 2011 21:22:13 +0000 (-0700) Subject: target: Prevent transport_send_task_abort when CHECK_CONDITION status X-Git-Tag: v3.2-rc1~24^2~75 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c252f003470a99d319db4ebd12f4a9e4710a65db;p=pandora-kernel.git 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 --- Reading git-diff-tree failed