diff options
author | Matthew Wilcox <willy@infradead.org> | 2023-03-24 18:01:09 +0000 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2023-04-06 13:39:51 -0400 |
commit | 3edde93e07954a8860d67be4a2165514a083b6e8 (patch) | |
tree | 52c05df5c3ad44104675cb419208f8daae060de0 /fs/ext4/ext4.h | |
parent | e8d6062c50acbf1aba88ca6adaa1bcda058abeab (diff) | |
download | linux-3edde93e07954a8860d67be4a2165514a083b6e8.tar.gz linux-3edde93e07954a8860d67be4a2165514a083b6e8.tar.bz2 linux-3edde93e07954a8860d67be4a2165514a083b6e8.zip |
ext4: Convert ext4_readpage_inline() to take a folio
Use the folio API in this function, saves a few calls to compound_head().
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: Theodore Ts'o <tytso@mit.edu>
Link: https://lore.kernel.org/r/20230324180129.1220691-10-willy@infradead.org
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'fs/ext4/ext4.h')
-rw-r--r-- | fs/ext4/ext4.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ext4/ext4.h b/fs/ext4/ext4.h index 3535338caf0d..6b21b3aa92d6 100644 --- a/fs/ext4/ext4.h +++ b/fs/ext4/ext4.h @@ -3549,7 +3549,7 @@ extern int ext4_init_inline_data(handle_t *handle, struct inode *inode, unsigned int len); extern int ext4_destroy_inline_data(handle_t *handle, struct inode *inode); -extern int ext4_readpage_inline(struct inode *inode, struct page *page); +int ext4_readpage_inline(struct inode *inode, struct folio *folio); extern int ext4_try_to_write_inline_data(struct address_space *mapping, struct inode *inode, loff_t pos, unsigned len, |