diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2020-10-20 14:30:02 -0400 |
---|---|---|
committer | Chuck Lever <chuck.lever@oracle.com> | 2021-01-25 09:36:23 -0500 |
commit | 9575363a9e4c8d7e2f9ba5e79884d623fff0be6f (patch) | |
tree | 2c6ea1b751e2252e9bad992e5c6fd83ddd51ebf1 /fs/nfsd/nfs3proc.c | |
parent | 81d217474326b25d7f14274b02fe3da1e85ad934 (diff) | |
download | linux-stable-9575363a9e4c8d7e2f9ba5e79884d623fff0be6f.tar.gz linux-stable-9575363a9e4c8d7e2f9ba5e79884d623fff0be6f.tar.bz2 linux-stable-9575363a9e4c8d7e2f9ba5e79884d623fff0be6f.zip |
NFSD: Update GETATTR3args decoder to use struct xdr_stream
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'fs/nfsd/nfs3proc.c')
-rw-r--r-- | fs/nfsd/nfs3proc.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/nfsd/nfs3proc.c b/fs/nfsd/nfs3proc.c index c9c64471c568..4b66f055141b 100644 --- a/fs/nfsd/nfs3proc.c +++ b/fs/nfsd/nfs3proc.c @@ -683,7 +683,6 @@ out: * NFSv3 Server procedures. * Only the results of non-idempotent operations are cached. */ -#define nfs3svc_decode_fhandleargs nfs3svc_decode_fhandle #define nfs3svc_encode_attrstatres nfs3svc_encode_attrstat #define nfs3svc_encode_wccstatres nfs3svc_encode_wccstat #define nfsd3_mkdirargs nfsd3_createargs @@ -715,7 +714,7 @@ static const struct svc_procedure nfsd_procedures3[22] = { .pc_decode = nfs3svc_decode_fhandleargs, .pc_encode = nfs3svc_encode_attrstatres, .pc_release = nfs3svc_release_fhandle, - .pc_argsize = sizeof(struct nfsd3_fhandleargs), + .pc_argsize = sizeof(struct nfsd_fhandle), .pc_ressize = sizeof(struct nfsd3_attrstatres), .pc_cachetype = RC_NOCACHE, .pc_xdrressize = ST+AT, |