diff options
| author | Trond Myklebust <[email protected]> | 2023-01-19 16:33:40 -0500 |
|---|---|---|
| committer | Anna Schumaker <[email protected]> | 2023-02-14 14:22:32 -0500 |
| commit | 4b27232a6e064f3d779cfa76cd251d6023949d22 (patch) | |
| tree | b7dd713f19824f0cfa2e0695f64d1a270d7174fb /include/linux | |
| parent | cbefa53cb1fe30ae4467be863afc3cf60238fd08 (diff) | |
NFS: Add a helper nfs_wb_folio()
...and use it in nfs_launder_folio().
Signed-off-by: Trond Myklebust <[email protected]>
Signed-off-by: Anna Schumaker <[email protected]>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/nfs_fs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/nfs_fs.h b/include/linux/nfs_fs.h index d92fdfd2444c..66b5de42f6b8 100644 --- a/include/linux/nfs_fs.h +++ b/include/linux/nfs_fs.h @@ -578,6 +578,7 @@ extern int nfs_updatepage(struct file *, struct page *, unsigned int, unsigned */ extern int nfs_sync_inode(struct inode *inode); extern int nfs_wb_all(struct inode *inode); +extern int nfs_wb_folio(struct inode *inode, struct folio *folio); extern int nfs_wb_page(struct inode *inode, struct page *page); int nfs_wb_folio_cancel(struct inode *inode, struct folio *folio); extern int nfs_commit_inode(struct inode *, int); |