]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
nfsd: add missing FATTR4_WORD2_CLONE_BLKSIZE from supported attributes
authorOlga Kornievskaia <okorniev@redhat.com>
Thu, 9 Oct 2025 20:37:59 +0000 (16:37 -0400)
committerChuck Lever <chuck.lever@oracle.com>
Tue, 4 Nov 2025 16:02:31 +0000 (11:02 -0500)
RFC 7862 Section 4.1.2 says that if the server supports CLONE it MUST
support clone_blksize attribute.

Fixes: d6ca7d2643ee ("NFSD: Implement FATTR4_CLONE_BLKSIZE attribute")
Cc: stable@vger.kernel.org
Signed-off-by: Olga Kornievskaia <okorniev@redhat.com>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
fs/nfsd/nfsd.h

index f19320018639ebe5bdbf02e19ce266f6978bd2cf..b752433c3c2c43224e71770add65bbd59453cb4e 100644 (file)
@@ -458,6 +458,7 @@ enum {
 #define NFSD4_2_SUPPORTED_ATTRS_WORD2 \
        (NFSD4_1_SUPPORTED_ATTRS_WORD2 | \
        FATTR4_WORD2_MODE_UMASK | \
+       FATTR4_WORD2_CLONE_BLKSIZE | \
        NFSD4_2_SECURITY_ATTRS | \
        FATTR4_WORD2_XATTR_SUPPORT | \
        FATTR4_WORD2_TIME_DELEG_ACCESS | \