From: Nicholas Bellinger Date: Thu, 29 Sep 2011 08:01:35 +0000 (-0700) Subject: target: Fix transport_cmd_finish_abort queue removal bug X-Git-Tag: v3.2-rc1~24^2~76 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=77039d1eafbbc192df71ee84b157b8973766737d;p=pandora-kernel.git target: Fix transport_cmd_finish_abort queue removal bug This patch fixes a bug in LUN_RESET operation with transport_cmd_finish_abort() where transport_remove_cmd_from_queue() was incorrectly being called, causing descriptors with t_state == TRANSPORT_FREE_CMD_INTR to be incorrectly removed from qobj->qobj_list during process context release. This change ensures the descriptor is only removed via transport_remove_cmd_from_queue() when doing a direct release via transport_generic_remove(). Cc: stable@kernel.org Signed-off-by: Nicholas Bellinger --- Reading git-diff-tree failed