Btrfs: fix worker thread double spin_lock_irq
authorChris Mason <chris.mason@oracle.com>
Wed, 16 Sep 2009 00:00:36 +0000 (20:00 -0400)
committerChris Mason <chris.mason@oracle.com>
Wed, 16 Sep 2009 00:20:17 +0000 (20:20 -0400)
commit627e421a3f35ad6b52dc58982fb6f8a97c30dcd7
tree9f1175835fe7b142b554fc66ea2367b7ec4ea1d3
parent3e99d8eb347c93a5d38081380b8c9e69b203212e
Btrfs: fix worker thread double spin_lock_irq

The exit-on-idle code for async worker threads was incorrectly
calling spin_lock_irq with interrupts already off.

Signed-off-by: Chris Mason <chris.mason@oracle.com>
fs/btrfs/async-thread.c