From: Nicholas Bellinger Date: Mon, 9 Jun 2014 23:36:51 +0000 (+0000) Subject: target: Use complete_all for se_cmd->t_transport_stop_comp X-Git-Tag: omap-for-v3.16/fixes-against-rc1~26^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a95d6511303b848da45ee27b35018bb58087bdc6;p=pandora-kernel.git target: Use complete_all for se_cmd->t_transport_stop_comp This patch fixes a bug where multiple waiters on ->t_transport_stop_comp occurs due to a concurrent ABORT_TASK and session reset both invoking transport_wait_for_tasks(), while waiting for the associated se_cmd descriptor backend processing to complete. For this case, complete_all() should be invoked in order to wake up both waiters in core_tmr_abort_task() + transport_generic_free_cmd() process contexts. Cc: Thomas Glanzmann Cc: Charalampos Pournaris Cc: stable@vger.kernel.org # 3.10+ Signed-off-by: Nicholas Bellinger --- Reading git-diff-tree failed