From: Nicholas Bellinger Date: Mon, 9 Jun 2014 23:13:20 +0000 (+0000) Subject: target: Set CMD_T_ACTIVE bit for Task Management Requests X-Git-Tag: omap-for-v3.16/fixes-against-rc1~26^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f15e9cd910c4d9da7de43f2181f362082fc45f0f;p=pandora-kernel.git target: Set CMD_T_ACTIVE bit for Task Management Requests This patch fixes a bug where se_cmd descriptors associated with a Task Management Request (TMR) where not setting CMD_T_ACTIVE before being dispatched into target_tmr_work() process context. This is required in order for transport_generic_free_cmd() -> transport_wait_for_tasks() to wait on se_cmd->t_transport_stop_comp if a session reset event occurs while an ABORT_TASK is outstanding waiting for another I/O to complete. Cc: Thomas Glanzmann Cc: Charalampos Pournaris Cc: stable@vger.kernel.org # 3.10+ Signed-off-by: Nicholas Bellinger --- Reading git-diff-tree failed