- From 9ae717e5301d5bd5913dba819e1c3b2d22fdbe6d Mon Sep 17 00:00:00 2001
- From: Cedric Blancher <cedric.blancher@gmail.com>
- Date: Sat, 13 Sep 2025 13:17:38 +0200
- Subject: [PATCH 1/2] daemon: Update+comment |FATTR_|+|OP_| for new RFCs
- Update+comment |FATTR_|+|OP_| for new RFCs.
- Signed-off-by: Roland Mainz <roland.mainz@nrubsig.org>
- ---
- daemon/nfs41_const.h | 10 +++++++++-
- daemon/nfs41_ops.h | 10 +++++++++-
- 2 files changed, 18 insertions(+), 2 deletions(-)
- diff --git a/daemon/nfs41_const.h b/daemon/nfs41_const.h
- index 74ad31d..04adcc4 100644
- --- a/daemon/nfs41_const.h
- +++ b/daemon/nfs41_const.h
- @@ -369,7 +369,15 @@ enum nfsstat4 {
- #define FATTR4_WORD2_MODE_SET_MASKED MAKE_WORD2(74)
- #define FATTR4_WORD2_FS_CHARSET_CAP MAKE_WORD2(76)
- #define FATTR4_WORD2_CLONE_BLKSIZE MAKE_WORD2(77)
- -
- +#define FATTR4_WORD2_SPACE_FREED MAKE_WORD2(78)
- +#define FATTR4_WORD2_CHANGE_ATTR_TYPE MAKE_WORD2(79)
- +#define FATTR4_WORD2_SECURITY_LABEL MAKE_WORD2(80)
- +#define FATTR4_WORD2_MODE_UMASK MAKE_WORD2(81) /* RFC 8275 */
- +#define FATTR4_WORD2_XATTR_SUPPORT MAKE_WORD2(82) /* RFC 8726+Linux XATTR is incompatible with Win32 EA */
- +#define FATTR4_WORD2_OFFLINE MAKE_WORD2(83) /* RFC 9754 */
- +#define FATTR4_WORD2_TIME_DELEG_ACCESS MAKE_WORD2(84)
- +#define FATTR4_WORD2_TIME_DELEG_MODIFY MAKE_WORD2(85)
- +#define FATTR4_WORD2_OPEN_ARGUMENTS MAKE_WORD2(86)
- /*
- * File types
- diff --git a/daemon/nfs41_ops.h b/daemon/nfs41_ops.h
- index bd93fbf..8f2b022 100644
- --- a/daemon/nfs41_ops.h
- +++ b/daemon/nfs41_ops.h
- @@ -104,7 +104,15 @@ enum nfs_opnum4 {
- OP_WRITE_SAME = 70,
- OP_CLONE = 71,
- - /* xattr support (RFC8726) */
- + /*
- + * xattr support (RFC8726)
- + * Note that RFC8726 XATTRS represent Linux XATTRs and are
- + * semantically incompatible to Windows EA (extended attributes).
- + * Windows EAs can only properly (i.e. pass the Windows HCL
- + * filesystem tests) be implemented via NFSv4 "named attributes"
- + * (OP_OPENATTR)&co, so these will remain no-ops for Windows NFS
- + * clients conformaing to the Win32 specs.
- + */
- OP_GETXATTR = 72,
- OP_SETXATTR = 73,
- OP_LISTXATTRS = 74,
- --
- 2.51.0
0001-daemon-Update-comment-FATTR_-OP_-for-new-RFCs.patch
Posted by Anonymous on Mon 15th Sep 2025 10:54
raw | new post
Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.