diff options
author | Josef Bacik <josef@redhat.com> | 2012-05-31 15:58:55 -0400 |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2012-06-14 21:29:15 -0400 |
commit | 17ca04aff7e6171df684b7b65804df8830eb8c15 (patch) | |
tree | 6fa1d7daf40ba3c2df952dd30c660c88f418c1fd /fs/direct-io.c | |
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>
Diffstat (limited to 'fs/direct-io.c')
0 files changed, 0 insertions, 0 deletions