diff options
author | Christian Brauner <brauner@kernel.org> | 2024-08-19 14:08:32 +0200 |
---|---|---|
committer | Christian Brauner <brauner@kernel.org> | 2024-08-19 14:08:32 +0200 |
commit | d937c813f88d727ea9d34a7768264a64c8b93025 (patch) | |
tree | 04df5167e049b732c9cb9fbacd8f2a6e788d762b /fs/squashfs/page_actor.h | |
parent | 424f8cb7449220e1d479eeba233c8da32c20caf5 (diff) | |
parent | fd54fa6efe0dd3894d6fd703f8856675b4bf8315 (diff) | |
download | linux-d937c813f88d727ea9d34a7768264a64c8b93025.tar.gz linux-d937c813f88d727ea9d34a7768264a64c8b93025.tar.bz2 linux-d937c813f88d727ea9d34a7768264a64c8b93025.zip |
Merge patch series "Squashfs: Update code to not use page->index"
Phillip Lougher <phillip@squashfs.org.uk> says:
In the near future page->index will be removed [1]. Any code which
still uses page->index needs to be updated.
This patch-set contains 4 patches which updates most of the code in
Squashfs. The exceptions are functions which have been fixed in
recent patches [2] & [3].
[1]: https://lore.kernel.org/all/Zp8fgUSIBGQ1TN0D@casper.infradead.org/
[2]: https://lore.kernel.org/all/20240817101146.2347378-1-lizetao1@huawei.com/
[3]: https://lore.kernel.org/all/20240817101146.2347378-2-lizetao1@huawei.com/
* patchesf from https://lore.kernel.org/r/20240818235847.170468-1-phillip@squashfs.org.uk:
Squashfs: Rewrite and update squashfs_readahead_fragment() to not use page->index
Squashfs: Update squashfs_readpage_block() to not use page->index
Squashfs: Update squashfs_readahead() to not use page->index
Squashfs: Update page_actor to not use page->index
Link: https://lore.kernel.org/r/20240818235847.170468-1-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.h | 3 |
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; |