summaryrefslogtreecommitdiffstats
path: root/mm/shmem.c
diff options
context:
space:
mode:
authorPhillip Lougher <phillip@squashfs.org.uk>2024-08-23 01:31:06 +0200
committerChristian Brauner <brauner@kernel.org>2024-08-23 13:11:36 +0200
commit84e0e03b308816a48c67f6da2168fcea6d49eda8 (patch)
treec10910f65477d1b9f9620820460310c88634f8e9 /mm/shmem.c
parentMerge patch series "Squashfs: Update code to not use page->index" (diff)
downloadlinux-84e0e03b308816a48c67f6da2168fcea6d49eda8.tar.xz
linux-84e0e03b308816a48c67f6da2168fcea6d49eda8.zip
Squashfs: Ensure all readahead pages have been used
In the recent work to remove page->index, a sanity check that ensured all the readhead pages were covered by the Squashfs data block was removed [1]. To avoid any regression, this commit adds the sanity check back in an equivalent way. Namely the page actor will now return error if any pages are unused after completion. [1] https://lore.kernel.org/all/20240818235847.170468-3-phillip@squashfs.org.uk/ -- Signed-off-by: Phillip Lougher <phillip@squashfs.org.uk> Link: https://lore.kernel.org/r/20240822233106.121522-1-phillip@squashfs.org.uk V3: last_page should be actor->last_page Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'mm/shmem.c')
0 files changed, 0 insertions, 0 deletions