summaryrefslogtreecommitdiffstats
path: root/fs/nfsd/xdr3.h
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2020-10-22 20:46:58 +0200
committerChuck Lever <chuck.lever@oracle.com>2021-03-22 15:18:52 +0100
commit5cf353354af1a385f29dec4609a1532d32c83a25 (patch)
tree2b7be3c438b2ce8ed27497d71fed2c8df74cd5ec /fs/nfsd/xdr3.h
parentNFSD: Update the NFSv3 ACCESS3res encoder to use struct xdr_stream (diff)
downloadlinux-5cf353354af1a385f29dec4609a1532d32c83a25.tar.xz
linux-5cf353354af1a385f29dec4609a1532d32c83a25.zip
NFSD: Update the NFSv3 LOOKUP3res encoder to use struct xdr_stream
Also, clean up: Rename the encoder function to match the name of the result structure in RFC 1813, consistent with other encoder function names in nfs3xdr.c. "diropres" is an NFSv2 thingie. Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'fs/nfsd/xdr3.h')
-rw-r--r--fs/nfsd/xdr3.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfsd/xdr3.h b/fs/nfsd/xdr3.h
index 0822981c61b9..7db4ee17aa20 100644
--- a/fs/nfsd/xdr3.h
+++ b/fs/nfsd/xdr3.h
@@ -282,7 +282,7 @@ int nfs3svc_decode_readdirplusargs(struct svc_rqst *, __be32 *);
int nfs3svc_decode_commitargs(struct svc_rqst *, __be32 *);
int nfs3svc_encode_getattrres(struct svc_rqst *, __be32 *);
int nfs3svc_encode_wccstat(struct svc_rqst *, __be32 *);
-int nfs3svc_encode_diropres(struct svc_rqst *, __be32 *);
+int nfs3svc_encode_lookupres(struct svc_rqst *, __be32 *);
int nfs3svc_encode_accessres(struct svc_rqst *, __be32 *);
int nfs3svc_encode_readlinkres(struct svc_rqst *, __be32 *);
int nfs3svc_encode_readres(struct svc_rqst *, __be32 *);