]> www.infradead.org Git - users/jedix/linux-maple.git/commit
squashfs; convert squashfs_copy_cache() to take a folio
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Fri, 20 Dec 2024 22:46:27 +0000 (22:46 +0000)
committerAndrew Morton <akpm@linux-foundation.org>
Sat, 25 Jan 2025 06:47:22 +0000 (22:47 -0800)
commit5641371fd0b3703d11809a0ae249aed270cb8add
tree44693d91e91b497d5f3bc6c4a8e1b9eb7b70d382
parent2a7aea59cf4dd4a070c4550fddaffc5a73312cad
squashfs; convert squashfs_copy_cache() to take a folio

Remove accesses to page->index and page->mapping.  Also use folio
APIs where available.  This code still assumes order 0 folios.

[dan.carpenter@linaro.org: fix a NULL vs IS_ERR() bug]
Link: https://lkml.kernel.org/r/7b7f44d6-9153-4d7c-b65b-2d78febe6c7a@stanley.mountain
Link: https://lkml.kernel.org/r/20241220224634.723899-4-willy@infradead.org
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Cc: Phillip Lougher <phillip@squashfs.org.uk>
Cc: Dan Carpenter <dan.carpenter@linaro.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
fs/squashfs/file.c
fs/squashfs/file_cache.c
fs/squashfs/squashfs.h