aboutsummaryrefslogtreecommitdiff
path: root/kernel/locking/rtmutex-debug.c
diff options
context:
space:
mode:
authorFilipe Manana <fdmanana@suse.com>2017-04-03 15:57:17 +0100
committerFilipe Manana <fdmanana@suse.com>2017-04-26 16:27:24 +0100
commitbe2d253cc98244765323a7c94cc1ac5cd5a17072 (patch)
tree299a437444b82fec241f9533677782aa49ad0a70 /kernel/locking/rtmutex-debug.c
parent1c81ba237bcecad9bc885a1ddcf02d725ea38482 (diff)
downloadlinux-be2d253cc98244765323a7c94cc1ac5cd5a17072.tar.gz
linux-be2d253cc98244765323a7c94cc1ac5cd5a17072.tar.bz2
linux-be2d253cc98244765323a7c94cc1ac5cd5a17072.zip
Btrfs: fix extent map leak during fallocate error path
If the call to btrfs_qgroup_reserve_data() failed, we were leaking an extent map structure. The failure can happen either due to an -ENOMEM condition or, when quotas are enabled, due to -EDQUOT for example. Signed-off-by: Filipe Manana <fdmanana@suse.com> Reviewed-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'kernel/locking/rtmutex-debug.c')
0 files changed, 0 insertions, 0 deletions