commit | 7df59fa00e5bf4d23555fd84ff3734ac52d06fea | [log] [tgz] |
---|---|---|
author | Josef Bacik <josef@toxicpanda.com> | Fri May 03 08:03:53 2019 -0700 |
committer | Josef Bacik <josef@toxicpanda.com> | Fri May 03 08:03:53 2019 -0700 |
tree | db91085e177efa59748f9c666dbb007a0fec8dc1 | |
parent | 9f3a8ada2cb8f4925523fb5da68d79992b8b38e8 [diff] |
btrfs: don't double unlock on error in btrfs_punch_hole If we have an error writing out a delalloc range in btrfs_punch_hole_lock_range we'll unlock the inode and then goto out_only_mutex, where we will again unlock the inode. This is bad, don't do this. Signed-off-by: Josef Bacik <josef@toxicpanda.com>