diff options
author | Filipe Manana <fdmanana@suse.com> | 2014-10-07 01:14:24 +0400 |
---|---|---|
committer | Chris Mason <clm@fb.com> | 2014-11-21 04:14:26 +0300 |
commit | 40ae837b43565c47ee171e704d05947fd5c2bae9 (patch) | |
tree | 520debe05ef897cfd6a1031ff16033d82c9eb8e2 /net/lapb/lapb_timer.c | |
parent | fce2a4e6b2da1bcc03837aff53b5bcb02bee4cee (diff) | |
download | linux-40ae837b43565c47ee171e704d05947fd5c2bae9.tar.xz |
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 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions