diff options
author | Trond Myklebust <trond.myklebust@hammerspace.com> | 2023-01-20 00:33:44 +0300 |
---|---|---|
committer | Anna Schumaker <Anna.Schumaker@Netapp.com> | 2023-02-14 22:22:32 +0300 |
commit | 4cbf76948c457f0beb9f184ebb21341c8235846a (patch) | |
tree | 5dd28249e6ed7ac7c6a6652c30e4f10932fc28ea | |
parent | 0c493b5cf16e28d761b6e77c7c32aa0e7af70813 (diff) | |
download | linux-4cbf76948c457f0beb9f184ebb21341c8235846a.tar.xz |
NFS: Remove unused function nfs_wb_page()
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
-rw-r--r-- | fs/nfs/write.c | 5 | ||||
-rw-r--r-- | include/linux/nfs_fs.h | 1 |
2 files changed, 0 insertions, 6 deletions
diff --git a/fs/nfs/write.c b/fs/nfs/write.c index 442aee011871..77e6c033ca95 100644 --- a/fs/nfs/write.c +++ b/fs/nfs/write.c @@ -2115,11 +2115,6 @@ out_error: return ret; } -int nfs_wb_page(struct inode *inode, struct page *page) -{ - return nfs_wb_folio(inode, page_folio(page)); -} - #ifdef CONFIG_MIGRATION int nfs_migrate_folio(struct address_space *mapping, struct folio *dst, struct folio *src, enum migrate_mode mode) diff --git a/include/linux/nfs_fs.h b/include/linux/nfs_fs.h index a61bfd52d551..45c44211e50e 100644 --- a/include/linux/nfs_fs.h +++ b/include/linux/nfs_fs.h @@ -580,7 +580,6 @@ extern int nfs_update_folio(struct file *file, struct folio *folio, 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); extern struct nfs_commit_data *nfs_commitdata_alloc(void); |