summaryrefslogtreecommitdiff
path: root/fs/lockd/svcsubs.c
diff options
context:
space:
mode:
authorFilipe Manana <fdmanana@suse.com>2014-10-06 22:14:24 +0100
committerChris Mason <clm@fb.com>2014-11-20 17:14:26 -0800
commit40ae837b43565c47ee171e704d05947fd5c2bae9 (patch)
tree520debe05ef897cfd6a1031ff16033d82c9eb8e2 /fs/lockd/svcsubs.c
parentfce2a4e6b2da1bcc03837aff53b5bcb02bee4cee (diff)
Btrfs: don't leak pages and memory on compressed write error
In inode.c:submit_compressed_extents(), if we fail before calling btrfs_submit_compressed_write(), or when that function fails, we were freeing the async_extent structure without releasing its pages and freeing the pages array. Signed-off-by: Filipe Manana <fdmanana@suse.com> Signed-off-by: Chris Mason <clm@fb.com>
Diffstat (limited to 'fs/lockd/svcsubs.c')
0 files changed, 0 insertions, 0 deletions