Skip to content

Commit 910e7fa

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: 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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> (cherry picked from commit 3bc33097d4e3726267dbc163d3ebd078319862aa) Signed-off-by: Wentao Guan <guanwentao@uniontech.com>
1 parent b3a9cba commit 910e7fa

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)