WSL2-Linux-Kernel/fs/squashfs
Phillip Lougher 1f13dff09f squashfs: don't call kmalloc in decompressors
The decompressors may be called while in an atomic section.  So move the
kmalloc() out of this path, and into the "page actor" init function.

This fixes a regression introduced by commit
f268eedddf ("squashfs: extend "page actor" to handle missing pages")

Link: https://lkml.kernel.org/r/20220822215430.15933-1-phillip@squashfs.org.uk
Fixes: f268eedddf ("squashfs: extend "page actor" to handle missing pages")
Reported-by: Chris Murphy <lists@colorremedies.com>
Signed-off-by: Phillip Lougher <phillip@squashfs.org.uk>
Cc: <stable@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
2022-08-28 14:02:45 -07:00
..
Kconfig
Makefile squashfs: always build "file direct" version of page actor 2022-07-29 18:12:34 -07:00
block.c
cache.c
decompressor.c
decompressor.h
decompressor_multi.c
decompressor_multi_percpu.c
decompressor_single.c
dir.c
export.c
file.c squashfs: don't call kmalloc in decompressors 2022-08-28 14:02:45 -07:00
file_cache.c
file_direct.c squashfs: don't call kmalloc in decompressors 2022-08-28 14:02:45 -07:00
fragment.c
id.c
inode.c
lz4_wrapper.c
lzo_wrapper.c
namei.c
page_actor.c squashfs: don't call kmalloc in decompressors 2022-08-28 14:02:45 -07:00
page_actor.h squashfs: don't call kmalloc in decompressors 2022-08-28 14:02:45 -07:00
squashfs.h
squashfs_fs.h
squashfs_fs_i.h
squashfs_fs_sb.h
super.c Revert "squashfs: provide backing_dev_info in order to disable read-ahead" 2022-07-29 18:12:34 -07:00
symlink.c
xattr.c
xattr.h
xattr_id.c
xz_wrapper.c
zlib_wrapper.c
zstd_wrapper.c