]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
NFSD: Add nfsd4_encode_fattr4_acl_trueform_scope
authorRick Macklem <rmacklem@uoguelph.ca>
Fri, 9 Jan 2026 16:21:34 +0000 (11:21 -0500)
committerChuck Lever <chuck.lever@oracle.com>
Thu, 29 Jan 2026 14:48:33 +0000 (09:48 -0500)
commit8093c31f2c959d6d92a33d9161d5e2c53d69720f
treed35a6daef19f4c67e1aeee3ddb900782cca4aed2
parent4a639a727f36e2bf49204c106cedab0060cdd75d
NFSD: Add nfsd4_encode_fattr4_acl_trueform_scope

The FATTR4_ACL_TRUEFORM_SCOPE attribute indicates the granularity at
which the ACL model can vary: per file object, per file system, or
uniformly across the entire server.

In Linux, the ACL model is determined by the SB_POSIXACL superblock
flag, which applies uniformly to all files within a file system.
Different exported file systems can have different ACL models, but
individual files cannot differ from their containing file system.
ACL_SCOPE_FILE_SYSTEM accurately reflects this behavior.

Signed-off-by: Rick Macklem <rmacklem@uoguelph.ca>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
fs/nfsd/nfs4xdr.c