Btrfs: fix race during transaction joins
authorChris Mason <chris.mason@oracle.com>
Sun, 6 Nov 2011 08:26:19 +0000 (03:26 -0500)
committerChris Mason <chris.mason@oracle.com>
Sun, 6 Nov 2011 08:26:19 +0000 (03:26 -0500)
While we're allocating ram for a new transaction, we drop our spinlock.
When we get the lock back, we do check to see if a transaction started
while we slept, but we don't check to make sure it isn't blocked
because a commit has already started.

Signed-off-by: Chris Mason <chris.mason@oracle.com>

No differences found