From: Joe Thornber Date: Tue, 8 Apr 2014 10:08:41 +0000 (+0100) Subject: dm thin: irqsave must always be used with the pool->lock spinlock X-Git-Tag: omap-for-v3.16/pm-signed~18^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5e3283e2920a0bd8a806964d80274b8756e0dd7f;p=pandora-kernel.git dm thin: irqsave must always be used with the pool->lock spinlock Commit c140e1c4e23 ("dm thin: use per thin device deferred bio lists") incorrectly stopped disabling irqs when taking the pool's spinlock. Irqs must be disabled when taking the pool's spinlock otherwise a thread could spin_lock(), then get interrupted to service thin_endio() in interrupt context, which would then deadlock in spin_lock_irqsave(). Signed-off-by: Joe Thornber Signed-off-by: Mike Snitzer --- Reading git-diff-tree failed