projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f8cba47
)
NFSD: Update the NFSv2 SETACL result encoder to use struct xdr_stream
author
Chuck Lever
<chuck.lever@oracle.com>
Wed, 18 Nov 2020 19:47:56 +0000
(14:47 -0500)
committer
Chuck Lever
<chuck.lever@oracle.com>
Mon, 22 Mar 2021 14:19:00 +0000
(10:19 -0400)
The SETACL result encoder is exactly the same as the NFSv2
attrstatres decoder.
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
fs/nfsd/nfs2acl.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/nfsd/nfs2acl.c
b/fs/nfsd/nfs2acl.c
index 4a15ae6fdbc26cc0d583ddba343549b6d8e3ee55..9c572ffa5e7b8aaf567ebcb25bf0ef063c56b6ea 100644
(file)
--- 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 = nfs
acl
svc_encode_attrstatres,
- .pc_release = nfs
acl
svc_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,