summaryrefslogtreecommitdiff
path: root/fs/btrfs/props.c
diff options
context:
space:
mode:
authorJosef Bacik <josef@toxicpanda.com>2019-05-03 11:10:06 -0400
committerDavid Sterba <dsterba@suse.com>2019-05-03 18:21:36 +0200
commit8fca955057b9c58467d1b231e43f19c4cf26ae8c (patch)
treebe1c2fcdc0d9968f7db0632976634e213604f710 /fs/btrfs/props.c
parent2b90883c561ddcc641741c2e4df1f702a4f2acb8 (diff)
downloadlwn-8fca955057b9c58467d1b231e43f19c4cf26ae8c.tar.gz
lwn-8fca955057b9c58467d1b231e43f19c4cf26ae8c.zip
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. Fixes: f27451f22996 ("Btrfs: add support for fallocate's zero range operation") CC: stable@vger.kernel.org # 4.19+ Reviewed-by: Filipe Manana <fdmanana@suse.com> Signed-off-by: Josef Bacik <josef@toxicpanda.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/props.c')
0 files changed, 0 insertions, 0 deletions