]> git.baikalelectronics.ru Git - kernel.git/commit
nfsd: Fix up the "supattr_exclcreat" attributes
authorTrond Myklebust <trond.myklebust@primarydata.com>
Tue, 9 May 2017 20:24:59 +0000 (16:24 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Wed, 10 May 2017 18:30:10 +0000 (14:30 -0400)
commitf6d9b66b69ed5cf1db82fdc9c149aafca744b104
tree0cf6c70af53aae987475f4723f6f47fdc5506a5d
parentab0d6b1a202aae94b5bb8d86176dc670b06ee5d1
nfsd: Fix up the "supattr_exclcreat" attributes

If an NFSv4 client asks us for the supattr_exclcreat, then we must
not return attributes that are unsupported by this minor version.

Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Fixes: a7a5593a3533 ("NFSD: Return word2 bitmask if setting security..,")
Cc: stable@vger.kernel.org
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfs4xdr.c