summaryrefslogtreecommitdiff
path: root/fs/ext4/ext4.h
diff options
context:
space:
mode:
authorMatthew Wilcox <willy@infradead.org>2023-03-24 18:01:23 +0000
committerTheodore Ts'o <tytso@mit.edu>2023-04-06 13:39:52 -0400
commitc0be8e6f081b3e966e21f52679b2f809b7df10b8 (patch)
treee7b1ca0f4ccb7fd13cdf0bb9f84f0464db348e6f /fs/ext4/ext4.h
parent0b5a254395dc6db5c38d89e606c0298ed4c9e984 (diff)
downloadlwn-c0be8e6f081b3e966e21f52679b2f809b7df10b8.tar.gz
lwn-c0be8e6f081b3e966e21f52679b2f809b7df10b8.zip
ext4: Convert ext4_mpage_readpages() to work on folios
This definitely doesn't include support for large folios; there are all kinds of assumptions about the number of buffers attached to a folio. But it does remove several calls to compound_head(). Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org> Link: https://lore.kernel.org/r/20230324180129.1220691-24-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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ext4/ext4.h b/fs/ext4/ext4.h
index 6b21b3aa92d6..83f0cc02250f 100644
--- a/fs/ext4/ext4.h
+++ b/fs/ext4/ext4.h
@@ -3646,7 +3646,7 @@ static inline void ext4_set_de_type(struct super_block *sb,
/* readpages.c */
extern int ext4_mpage_readpages(struct inode *inode,
- struct readahead_control *rac, struct page *page);
+ struct readahead_control *rac, struct folio *folio);
extern int __init ext4_init_post_read_processing(void);
extern void ext4_exit_post_read_processing(void);