diff options
author | Matthew Wilcox (Oracle) <willy@infradead.org> | 2022-04-29 15:49:28 +0300 |
---|---|---|
committer | Matthew Wilcox (Oracle) <willy@infradead.org> | 2022-05-09 23:21:44 +0300 |
commit | 6c62371b7fd77628feb5b806bc29433caecedff8 (patch) | |
tree | 2ca690c32dd6c2aaf10ad4f925170ea28106f1e6 /include/linux/netfs.h | |
parent | 08830c8bc6cc7047d2cc8a136849a15fcb977044 (diff) | |
download | linux-6c62371b7fd77628feb5b806bc29433caecedff8.tar.xz |
fs: Convert netfs_readpage to netfs_read_folio
This is straightforward because netfs already worked in terms of folios.
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Diffstat (limited to 'include/linux/netfs.h')
-rw-r--r-- | include/linux/netfs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/netfs.h b/include/linux/netfs.h index 1c29f317d907..4bd5ee709daa 100644 --- a/include/linux/netfs.h +++ b/include/linux/netfs.h @@ -274,7 +274,7 @@ struct netfs_cache_ops { struct readahead_control; extern void netfs_readahead(struct readahead_control *); -extern int netfs_readpage(struct file *, struct page *); +int netfs_read_folio(struct file *, struct folio *); extern int netfs_write_begin(struct file *, struct address_space *, loff_t, unsigned int, struct folio **, void **); |