squashfs: don't use intermediate buffer if pages missing
authorPhillip Lougher <phillip@squashfs.org.uk>
Sat, 11 Jun 2022 03:21:33 +0000 (04:21 +0100)
committerakpm <akpm@linux-foundation.org>
Fri, 17 Jun 2022 02:58:22 +0000 (19:58 -0700)
commit1bb1a07afad97303f14b8d1b319b03f1f01a0091
treefa0cf1187cd8115d2505ac08775709ce95902b58
parentf268eedddf3595e85f8883dc50aed29654785696
squashfs: don't use intermediate buffer if pages missing

Now that the "page actor" can handle missing pages, we don't have to fall
back to using an intermediate buffer in Squashfs_readpage_block() if all
the pages necessary can't be obtained.

Link: https://lkml.kernel.org/r/20220611032133.5743-3-phillip@squashfs.org.uk
Signed-off-by: Phillip Lougher <phillip@squashfs.org.uk>
Cc: Hsin-Yi Wang <hsinyi@chromium.org>
Cc: Matthew Wilcox (Oracle) <willy@infradead.org>
Cc: Xiongwei Song <Xiongwei.Song@windriver.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
fs/squashfs/file_direct.c