nfs: Convert nfs to read_folio

This is a "weak" conversion which converts straight back to using pages.
A full conversion should be performed at some point, hopefully by
someone familiar with the filesystem.

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
This commit is contained in:
Matthew Wilcox (Oracle)
2022-04-29 11:12:16 -04:00
parent bb8e283a64
commit 65d023af7f
3 changed files with 5 additions and 4 deletions

View File

@@ -594,7 +594,7 @@ static inline bool nfs_have_writebacks(const struct inode *inode)
/*
* linux/fs/nfs/read.c
*/
extern int nfs_readpage(struct file *, struct page *);
int nfs_read_folio(struct file *, struct folio *);
void nfs_readahead(struct readahead_control *);
/*