diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2020-11-17 10:38:46 -0500 |
---|---|---|
committer | Chuck Lever <chuck.lever@oracle.com> | 2021-01-25 09:36:27 -0500 |
commit | 6bb844b4eb6e3b109a2fdaffb60e6da722dc4356 (patch) | |
tree | 93407b8384fa7d86889013ab6048e72b2dd6b42c /include/linux/nfsacl.h | |
parent | 635a45d34706400c59c3b18ca9fccba195147bda (diff) |
NFSD: Add an xdr_stream-based decoder for NFSv2/3 ACLs
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'include/linux/nfsacl.h')
-rw-r--r-- | include/linux/nfsacl.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/nfsacl.h b/include/linux/nfsacl.h index 103d44695323..0ba99c513649 100644 --- a/include/linux/nfsacl.h +++ b/include/linux/nfsacl.h @@ -38,5 +38,8 @@ nfsacl_encode(struct xdr_buf *buf, unsigned int base, struct inode *inode, extern int nfsacl_decode(struct xdr_buf *buf, unsigned int base, unsigned int *aclcnt, struct posix_acl **pacl); +extern bool +nfs_stream_decode_acl(struct xdr_stream *xdr, unsigned int *aclcnt, + struct posix_acl **pacl); #endif /* __LINUX_NFSACL_H */ |