commit | d43317dcd074818d4bd12ddd4184a29aff98907b | [log] [tgz] |
---|---|---|
author | Chris Mason <chris.mason@oracle.com> | Sun Nov 06 03:26:19 2011 -0500 |
committer | Chris Mason <chris.mason@oracle.com> | Sun Nov 06 03:26:19 2011 -0500 |
tree | 233033cf8c7f3cb38dc549d2a1be7f0fc9ecfd80 | |
parent | 56d2a48f81a1bde827c625b90221fade72fe9c61 [diff] |
Btrfs: fix race during transaction joins 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>