commit | 40ae837b43565c47ee171e704d05947fd5c2bae9 | [log] [tgz] |
---|---|---|
author | Filipe Manana <fdmanana@suse.com> | Mon Oct 06 22:14:24 2014 +0100 |
committer | Chris Mason <clm@fb.com> | Thu Nov 20 17:14:26 2014 -0800 |
tree | 520debe05ef897cfd6a1031ff16033d82c9eb8e2 | |
parent | fce2a4e6b2da1bcc03837aff53b5bcb02bee4cee [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>