Skip to content

Commit d8f30bc

Browse files
Olga Kornievskaiaopsiff
authored andcommitted
nfsd: add missing FATTR4_WORD2_CLONE_BLKSIZE from supported attributes
commit 4d3dbc2 upstream. RFC 7862 Section 4.1.2 says that if the server supports CLONE it MUST support clone_blksize attribute. Fixes: d6ca7d2 ("NFSD: Implement FATTR4_CLONE_BLKSIZE attribute") Cc: [email protected] Signed-off-by: Olga Kornievskaia <[email protected]> Reviewed-by: Jeff Layton <[email protected]> Signed-off-by: Chuck Lever <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]> (cherry picked from commit 3bc33097d4e3726267dbc163d3ebd078319862aa) Signed-off-by: Wentao Guan <[email protected]>
1 parent aa971d0 commit d8f30bc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

fs/nfsd/nfsd.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -458,6 +458,7 @@ enum {
458458
#define NFSD4_2_SUPPORTED_ATTRS_WORD2 \
459459
(NFSD4_1_SUPPORTED_ATTRS_WORD2 | \
460460
FATTR4_WORD2_MODE_UMASK | \
461+
FATTR4_WORD2_CLONE_BLKSIZE | \
461462
NFSD4_2_SECURITY_ATTRS | \
462463
FATTR4_WORD2_XATTR_SUPPORT)
463464

0 commit comments

Comments
 (0)