commit | 17ca04aff7e6171df684b7b65804df8830eb8c15 | [log] [tgz] |
---|---|---|
author | Josef Bacik <josef@redhat.com> | Thu May 31 15:58:55 2012 -0400 |
committer | Chris Mason <chris.mason@oracle.com> | Thu Jun 14 21:29:15 2012 -0400 |
tree | 6fa1d7daf40ba3c2df952dd30c660c88f418c1fd | |
parent | ee670f0af35871edb492db5ba406cef36d1b7c21 [diff] |
Btrfs: unlock everything properly in the error case for nocow I was getting hung on umount when a transaction was aborted because a range of one of the free space inodes was still locked. This is because the nocow stuff doesn't unlock anything on error. This fixed the problem and I verified that is what was happening. Thanks, Signed-off-by: Josef Bacik <josef@redhat.com>