summaryrefslogtreecommitdiff
path: root/fs/ntfs3/inode.c
diff options
context:
space:
mode:
authorMatthew Wilcox (Oracle) <willy@infradead.org>2024-04-22 22:32:01 +0300
committerKonstantin Komarov <almaz.alexandrovich@paragon-software.com>2024-06-26 15:48:57 +0300
commit4d89b6716b00bf52e2c4f98d5d7788d300469a5f (patch)
treed4da991cd0b62743880c764bd4db77f6de2752d5 /fs/ntfs3/inode.c
parent584f60ba22f79c89e6708ab82a5b5d9b8fa21fb2 (diff)
downloadlinux-4d89b6716b00bf52e2c4f98d5d7788d300469a5f.tar.xz
ntfs3: Convert ni_readpage_cmpr() to take a folio
We still use an array of pages for the decompression, but this removes a few calls to compound_head(). Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org> Signed-off-by: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>
Diffstat (limited to 'fs/ntfs3/inode.c')
-rw-r--r--fs/ntfs3/inode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ntfs3/inode.c b/fs/ntfs3/inode.c
index 74f6c7e567e7..68dd71eed3fe 100644
--- a/fs/ntfs3/inode.c
+++ b/fs/ntfs3/inode.c
@@ -727,7 +727,7 @@ static int ntfs_read_folio(struct file *file, struct folio *folio)
if (is_compressed(ni)) {
ni_lock(ni);
- err = ni_readpage_cmpr(ni, &folio->page);
+ err = ni_readpage_cmpr(ni, folio);
ni_unlock(ni);
return err;
}