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>
This commit is contained in:
parent
08830c8bc6
commit
6c62371b7f
5 changed files with 11 additions and 12 deletions
|
|
@ -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 **);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue