Squashfs: fix failure to unlock pages on decompress error
Phillip Lougher authored
Direct decompression into the page cache.  If we fall back
to using an intermediate buffer (because we cannot grab all the
page cache pages) and we get a decompress fail, we forgot to
release the pages.
Reported-by: default avatarRoman Peniaev <r.peniaev@gmail.com>
Signed-off-by: default avatarPhillip Lougher <phillip@squashfs.org.uk>
6d565409
Name Last commit Last update
..
Kconfig Squashfs: Directly decompress into the page cache for file data
Makefile Squashfs: Directly decompress into the page cache for file data
block.c Squashfs: Generalise paging handling in the decompressors
cache.c Squashfs: Generalise paging handling in the decompressors
decompressor.c Squashfs: Generalise paging handling in the decompressors
decompressor.h Squashfs: Generalise paging handling in the decompressors
decompressor_multi.c Squashfs: Check stream is not NULL in decompressor_multi.c
decompressor_multi_percpu.c Squashfs: Generalise paging handling in the decompressors
decompressor_single.c Squashfs: Generalise paging handling in the decompressors
dir.c Squashfs: add corruption check for type in squashfs_readdir()
export.c Squashfs: Fix sanity check patches on big-endian systems
file.c Squashfs: Restructure squashfs_readpage()
file_cache.c Squashfs: Restructure squashfs_readpage()
file_direct.c Squashfs: fix failure to unlock pages on decompress error
fragment.c Squashfs: Fix sanity check patches on big-endian systems
id.c Squashfs: Fix sanity check patches on big-endian systems
inode.c userns: Convert squashfs to use kuid/kgid where appropriate
lzo_wrapper.c Squashfs: Generalise paging handling in the decompressors
namei.c Squashfs: fix corruption checks in squashfs_lookup()
page_actor.c Squashfs: Directly decompress into the page cache for file data
page_actor.h Squashfs: Directly decompress into the page cache for file data
squashfs.h Squashfs: Restructure squashfs_readpage()
squashfs_fs.h Squashfs: add corruption check for type in squashfs_readdir()
squashfs_fs_i.h Squashfs: update email address
squashfs_fs_sb.h Squashfs: Generalise paging handling in the decompressors
super.c Squashfs: Refactor decompressor interface and code
symlink.c squashfs: remove the second argument of k[un]map_atomic()
xattr.c Squashfs: update email address
xattr.h Squashfs: update email address
xattr_id.c Squashfs: update email address
xz_wrapper.c Squashfs: Generalise paging handling in the decompressors
zlib_wrapper.c Squashfs: Generalise paging handling in the decompressors