summaryrefslogtreecommitdiffstats
path: root/fs/nfs
diff options
context:
space:
mode:
authorGaosheng Cui <cuigaosheng1@huawei.com>2024-08-26 05:21:57 +0200
committerAnna Schumaker <anna.schumaker@oracle.com>2024-09-23 21:03:13 +0200
commit40c80881ebef97a2ad4bba1e34edb80fd8585e8c (patch)
tree746d2508f321535be4e36faf527262c0a8cb03d5 /fs/nfs
parentnet/sunrpc: make use of the helper macro LIST_HEAD() (diff)
downloadlinux-40c80881ebef97a2ad4bba1e34edb80fd8585e8c.tar.xz
linux-40c80881ebef97a2ad4bba1e34edb80fd8585e8c.zip
nfs: Remove obsoleted declaration for nfs_read_prepare
The nfs_read_prepare() have been removed since commit a4cdda59111f ("NFS: Create a common pgio_rpc_prepare function"), and now it is useless, so remove it. Signed-off-by: Gaosheng Cui <cuigaosheng1@huawei.com> Signed-off-by: Anna Schumaker <anna.schumaker@oracle.com>
Diffstat (limited to 'fs/nfs')
-rw-r--r--fs/nfs/internal.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/nfs/internal.h b/fs/nfs/internal.h
index 5902a9beca1f..b3dc7c84eef9 100644
--- a/fs/nfs/internal.h
+++ b/fs/nfs/internal.h
@@ -505,7 +505,6 @@ extern int nfs_read_add_folio(struct nfs_pageio_descriptor *pgio,
struct nfs_open_context *ctx,
struct folio *folio);
extern void nfs_pageio_complete_read(struct nfs_pageio_descriptor *pgio);
-extern void nfs_read_prepare(struct rpc_task *task, void *calldata);
extern void nfs_pageio_reset_read_mds(struct nfs_pageio_descriptor *pgio);
/* super.c */