]> 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)
commit773cb86c9006b18d8c265f765d77b7020c47e55e
tree0cf6c70af53aae987475f4723f6f47fdc5506a5d
parent6918e6f8e773e49b0a673a362f9cf2f458086c40
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: ed48236d8a9e ("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