]> git.infradead.org Git - users/hch/misc.git/commitdiff
nfs: Remove obsoleted declaration for nfs_read_prepare
authorGaosheng Cui <cuigaosheng1@huawei.com>
Mon, 26 Aug 2024 03:21:57 +0000 (11:21 +0800)
committerAnna Schumaker <anna.schumaker@oracle.com>
Mon, 23 Sep 2024 19:03:13 +0000 (15:03 -0400)
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>
fs/nfs/internal.h

index 5902a9beca1f3fead4637c78c730b11bcd7b051c..b3dc7c84eef9df6502b5010e41addc66bec30e92 100644 (file)
@@ -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 */