target: Fix incorrect usage of nested IRQ spinlocks in ABORT_TASK path
authorSteve Hodgson <[email protected]>
Wed, 31 Oct 2012 17:24:02 +0000 (10:24 -0700)
committerNicholas Bellinger <[email protected]>
Thu, 1 Nov 2012 07:38:45 +0000 (00:38 -0700)
commitab74b3d62f05192bf8fb8f169e7999d1183b2e08
tree854a0c02ec42a9f5b84ca9eafa989b8c809ac51b
parentd5627acba9ae584cf4928af19f7ddf5f6837de32
target: Fix incorrect usage of nested IRQ spinlocks in ABORT_TASK path

This patch changes core_tmr_abort_task() to use spin_lock -> spin_unlock
around se_cmd->t_state_lock while spin_lock_irqsave is held via
se_sess->sess_cmd_lock.

Signed-off-by: Steve Hodgson <[email protected]>
Signed-off-by: Roland Dreier <[email protected]>
Cc: [email protected]
Signed-off-by: Nicholas Bellinger <[email protected]>
drivers/target/target_core_tmr.c