From: Sebastian Andrzej Siewior Date: Tue, 10 Jan 2012 13:16:58 +0000 (+0100) Subject: target: use save/restore lock primitive in core_dec_lacl_count() X-Git-Tag: v3.3-rc3~2^2~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1dd0a0674530da61cdbfadd88c96949b483a7c19;p=pandora-kernel.git 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 Signed-off-by: Nicholas Bellinger --- Reading git-diff-tree failed