diff options
author | Trond Myklebust <trond.myklebust@hammerspace.com> | 2023-01-20 00:33:40 +0300 |
---|---|---|
committer | Anna Schumaker <Anna.Schumaker@Netapp.com> | 2023-02-14 22:22:32 +0300 |
commit | 4b27232a6e064f3d779cfa76cd251d6023949d22 (patch) | |
tree | b7dd713f19824f0cfa2e0695f64d1a270d7174fb /include/linux/nfs_fs.h | |
parent | cbefa53cb1fe30ae4467be863afc3cf60238fd08 (diff) | |
download | linux-4b27232a6e064f3d779cfa76cd251d6023949d22.tar.xz |
NFS: Add a helper nfs_wb_folio()
...and use it in nfs_launder_folio().
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'include/linux/nfs_fs.h')
-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); |