[PATCH v1 16/17] Set the POSIX ACL attributes supported

rick.macklem
2025-12-31T02:22:41Z

fs/nfsd/nfsd.h | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/fs/nfsd/nfsd.h b/fs/nfsd/nfsd.h
index b0283213a8f5..b07a04ae7d6a 100644
--- a/fs/nfsd/nfsd.h
+++ b/fs/nfsd/nfsd.h
@@ -462,7 +462,11 @@ enum {
FATTR4_WORD2_XATTR_SUPPORT | \
FATTR4_WORD2_TIME_DELEG_ACCESS | \
FATTR4_WORD2_TIME_DELEG_MODIFY | \
- FATTR4_WORD2_OPEN_ARGUMENTS)
+ FATTR4_WORD2_OPEN_ARGUMENTS | \
+ FATTR4_WORD2_ACL_TRUEFORM | \
+ FATTR4_WORD2_ACL_TRUEFORM_SCOPE | \
+ FATTR4_WORD2_POSIX_DEFAULT_ACL | \
+ FATTR4_WORD2_POSIX_ACCESS_ACL)

extern const u32 nfsd_suppattrs[3][3];

@@ -535,6 +539,8 @@ static inline bool nfsd_attrs_supported(u32 minorversion, const u32 *bmval)
| MAYBE_FATTR4_WORD2_SECURITY_LABEL \
| FATTR4_WORD2_TIME_DELEG_ACCESS \
| FATTR4_WORD2_TIME_DELEG_MODIFY \
+ | FATTR4_WORD2_POSIX_DEFAULT_ACL \
+ | FATTR4_WORD2_POSIX_ACCESS_ACL \
)

#define NFSD_SUPPATTR_EXCLCREAT_WORD0 \
--
2.49.0