From: Chuck Lever Date: Wed, 18 Nov 2020 19:47:56 +0000 (-0500) Subject: NFSD: Update the NFSv2 SETACL result encoder to use struct xdr_stream X-Git-Tag: v5.13-rc1~161^2~35 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=778f068fa0c0846b650ebdb8795fd51b5badc332;p=thirdparty%2Fkernel%2Flinux.git NFSD: Update the NFSv2 SETACL result encoder to use struct xdr_stream The SETACL result encoder is exactly the same as the NFSv2 attrstatres decoder. Signed-off-by: Chuck Lever --- diff --git a/fs/nfsd/nfs2acl.c b/fs/nfsd/nfs2acl.c index 4a15ae6fdbc26..9c572ffa5e7b8 100644 --- a/fs/nfsd/nfs2acl.c +++ b/fs/nfsd/nfs2acl.c @@ -365,8 +365,8 @@ static const struct svc_procedure nfsd_acl_procedures2[5] = { [ACLPROC2_SETACL] = { .pc_func = nfsacld_proc_setacl, .pc_decode = nfsaclsvc_decode_setaclargs, - .pc_encode = nfsaclsvc_encode_attrstatres, - .pc_release = nfsaclsvc_release_attrstat, + .pc_encode = nfssvc_encode_attrstatres, + .pc_release = nfssvc_release_attrstat, .pc_argsize = sizeof(struct nfsd3_setaclargs), .pc_ressize = sizeof(struct nfsd_attrstat), .pc_cachetype = RC_NOCACHE,