summaryrefslogtreecommitdiffstats
path: root/fs/squashfs/page_actor.h
diff options
context:
space:
mode:
authorPhillip Lougher <phillip@squashfs.org.uk>2024-08-19 01:58:44 +0200
committerChristian Brauner <brauner@kernel.org>2024-08-19 14:08:20 +0200
commit2258e22f05aff5865c93cbd4e9acba55b295d832 (patch)
tree5b3d22409595a235d80e8a5dc25d7fea66c32754 /fs/squashfs/page_actor.h
parentLinux 6.11-rc1 (diff)
downloadlinux-2258e22f05aff5865c93cbd4e9acba55b295d832.tar.xz
linux-2258e22f05aff5865c93cbd4e9acba55b295d832.zip
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/page_actor.h')
-rw-r--r--fs/squashfs/page_actor.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/squashfs/page_actor.h b/fs/squashfs/page_actor.h
index 97d4983559b1..c6d837f0e9ca 100644
--- a/fs/squashfs/page_actor.h
+++ b/fs/squashfs/page_actor.h
@@ -29,7 +29,8 @@ extern struct squashfs_page_actor *squashfs_page_actor_init(void **buffer,
int pages, int length);
extern struct squashfs_page_actor *squashfs_page_actor_init_special(
struct squashfs_sb_info *msblk,
- struct page **page, int pages, int length);
+ struct page **page, int pages, int length,
+ loff_t start_index);
static inline struct page *squashfs_page_actor_free(struct squashfs_page_actor *actor)
{
struct page *last_page = actor->last_page;