commit | 3473f3c06a36865ae05993041fff35ee928342a7 | [log] [tgz] |
---|---|---|
author | Josef Bacik <josef@redhat.com> | Thu Jun 09 10:15:17 2011 -0400 |
committer | Josef Bacik <josef@redhat.com> | Thu Jun 09 10:15:17 2011 -0400 |
tree | 1f87d27e58a27ab525ac7579e6e1233052f8b573 | |
parent | 25b8b936ed44814a5ce6fc3b2a21401f33cd56f6 [diff] |
Btrfs: unlock the trans lock properly In btrfs_wait_for_commit if we came upon a transaction that had committed we just exited, but that's bad since we are holding the trans_lock. So break instead so that the lock is dropped. Thanks, Reported-by: David Sterba <dsterba@suse.cz> Signed-off-by: Josef Bacik <josef@redhat.com>