summaryrefslogtreecommitdiff
path: root/fs/squashfs/file.c
diff options
context:
space:
mode:
authorPhillip Lougher <phillip@squashfs.org.uk>2024-08-19 02:58:44 +0300
committerChristian Brauner <brauner@kernel.org>2024-08-19 15:08:20 +0300
commit2258e22f05aff5865c93cbd4e9acba55b295d832 (patch)
tree5b3d22409595a235d80e8a5dc25d7fea66c32754 /fs/squashfs/file.c
parent8400291e289ee6b2bf9779ff1c83a291501f017b (diff)
downloadlinux-2258e22f05aff5865c93cbd4e9acba55b295d832.tar.xz
Squashfs: Update page_actor to not use page->index
This commit removes an unnecessary use of page->index, and moves the other use over to folio->index. Signed-off-by: Phillip Lougher <phillip@squashfs.org.uk> Link: https://lore.kernel.org/r/20240818235847.170468-2-phillip@squashfs.org.uk Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'fs/squashfs/file.c')
-rw-r--r--fs/squashfs/file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/squashfs/file.c b/fs/squashfs/file.c
index a8c1e7f9a609..2b6b63f4ccd1 100644
--- a/fs/squashfs/file.c
+++ b/fs/squashfs/file.c
@@ -589,7 +589,7 @@ static void squashfs_readahead(struct readahead_control *ractl)
goto skip_pages;
actor = squashfs_page_actor_init_special(msblk, pages, nr_pages,
- expected);
+ expected, start);
if (!actor)
goto skip_pages;