diff options
author | Trond Myklebust | 2023-01-19 16:33:40 -0500 |
---|---|---|
committer | Anna Schumaker | 2023-02-14 14:22:32 -0500 |
commit | 4b27232a6e064f3d779cfa76cd251d6023949d22 (patch) | |
tree | b7dd713f19824f0cfa2e0695f64d1a270d7174fb /fs/nfs/file.c | |
parent | cbefa53cb1fe30ae4467be863afc3cf60238fd08 (diff) |
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 'fs/nfs/file.c')
-rw-r--r-- | fs/nfs/file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/file.c b/fs/nfs/file.c index d8ec889a4b3f..8704bd071d3a 100644 --- a/fs/nfs/file.c +++ b/fs/nfs/file.c @@ -469,7 +469,7 @@ static int nfs_launder_folio(struct folio *folio) inode->i_ino, folio_pos(folio)); folio_wait_fscache(folio); - return nfs_wb_page(inode, &folio->page); + return nfs_wb_folio(inode, folio); } static int nfs_swap_activate(struct swap_info_struct *sis, struct file *file, |