diff options
| author | Chuck Lever <chuck.lever@oracle.com> | 2020-11-17 18:38:46 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-06-21 15:52:55 +0300 |
| commit | e077857ef0f84ba0ea99b2be796e7264a136c90a (patch) | |
| tree | 593b09a20ccf2398fa14f80f9202688da1ef74ea /include/linux | |
| parent | ea6b0e02dcacac18adb300636ce30e88f64dc912 (diff) | |
| download | linux-e077857ef0f84ba0ea99b2be796e7264a136c90a.tar.xz | |
NFSD: Add an xdr_stream-based decoder for NFSv2/3 ACLs
[ Upstream commit 6bb844b4eb6e3b109a2fdaffb60e6da722dc4356 ]
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include/linux')
| -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 */ |
