diff options
| author | 2014-10-06 22:14:24 +0100 | |
|---|---|---|
| committer | 2014-11-20 17:14:26 -0800 | |
| commit | 40ae837b43565c47ee171e704d05947fd5c2bae9 (patch) | |
| tree | 520debe05ef897cfd6a1031ff16033d82c9eb8e2 /kernel/sysctl_binary.c | |
| parent | Btrfs: fix hang on compressed write error (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 'kernel/sysctl_binary.c')
0 files changed, 0 insertions, 0 deletions
