commit | 1dd0a0674530da61cdbfadd88c96949b483a7c19 | [log] [tgz] |
---|---|---|
author | Sebastian Andrzej Siewior <bigeasy@linutronix.de> | Tue Jan 10 14:16:58 2012 +0100 |
committer | Nicholas Bellinger <nab@linux-iscsi.org> | Wed Jan 18 08:30:39 2012 +0000 |
tree | 5e47fe019fb7961883b3104a043eff71392c0ff2 | |
parent | e59a41b69a8e116d5ac8c95c4222f5a971f66bbd [diff] |
target: use save/restore lock primitive in core_dec_lacl_count() It may happen that uasp will free the request in irq conntext, the callchain: uasp_cmd_release() -> transport_generic_free_cmd() -> core_dec_lacl_count() where the last function enables the IRQ. Those irqs are re-disabled later (due to the spin.*irq_restore) but in between we could get hurt. Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>