diff options
author | Matthew Wilcox (Oracle) <willy@infradead.org> | 2024-12-20 22:46:26 +0000 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2025-01-24 22:47:22 -0800 |
commit | 2a7aea59cf4dd4a070c4550fddaffc5a73312cad (patch) | |
tree | 9ad0bb5fcdddc9e38ae06ae6bebd8f1793dbd59c /fs/squashfs/file.c | |
parent | 8c1565fcf6392d2f962b7cbc9fde43bfcd175c2f (diff) |
squashfs: convert squashfs_readpage_block() to take a folio
Remove a few accesses to page->mapping.
Link: https://lkml.kernel.org/r/20241220224634.723899-3-willy@infradead.org
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Cc: Phillip Lougher <phillip@squashfs.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'fs/squashfs/file.c')
-rw-r--r-- | fs/squashfs/file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/squashfs/file.c b/fs/squashfs/file.c index 6bd16e12493b..5b81e26b1226 100644 --- a/fs/squashfs/file.c +++ b/fs/squashfs/file.c @@ -472,7 +472,7 @@ static int squashfs_read_folio(struct file *file, struct folio *folio) if (res == 0) res = squashfs_readpage_sparse(&folio->page, expected); else - res = squashfs_readpage_block(&folio->page, block, res, expected); + res = squashfs_readpage_block(folio, block, res, expected); } else res = squashfs_readpage_fragment(folio, expected); |