summaryrefslogtreecommitdiff
path: root/fs/nfsd/nfs3xdr.c
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2020-10-24 12:51:18 -0400
committerChuck Lever <chuck.lever@oracle.com>2021-01-25 09:36:24 -0500
commit224c1c894e48cd72e4dd9fb6311be80cbe1369b0 (patch)
tree6b3b9842bf5e23b282d8e80b444ced7cbb934991 /fs/nfsd/nfs3xdr.c
parentc43b2f229a01969a7ccf94b033c5085e0ec2040c (diff)
NFSD: Update READLINK3arg decoder to use struct xdr_stream
The NFSv3 READLINK request takes a single filehandle, so it can re-use GETATTR's decoder. Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'fs/nfsd/nfs3xdr.c')
-rw-r--r--fs/nfsd/nfs3xdr.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/fs/nfsd/nfs3xdr.c b/fs/nfsd/nfs3xdr.c
index c06467e8ac82..6b6a839c1fc8 100644
--- a/fs/nfsd/nfs3xdr.c
+++ b/fs/nfsd/nfs3xdr.c
@@ -544,19 +544,6 @@ nfs3svc_decode_renameargs(struct svc_rqst *rqstp, __be32 *p)
}
int
-nfs3svc_decode_readlinkargs(struct svc_rqst *rqstp, __be32 *p)
-{
- struct nfsd3_readlinkargs *args = rqstp->rq_argp;
-
- p = decode_fh(p, &args->fh);
- if (!p)
- return 0;
- args->buffer = page_address(*(rqstp->rq_next_page++));
-
- return xdr_argsize_check(rqstp, p);
-}
-
-int
nfs3svc_decode_linkargs(struct svc_rqst *rqstp, __be32 *p)
{
struct nfsd3_linkargs *args = rqstp->rq_argp;