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)
commitb26b78cb726007533d81fdf90a62e915002ef5c8
tree0cf6c70af53aae987475f4723f6f47fdc5506a5d
parentf961e3f2acae94b727380c0b74e2d3954d0edf79
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: 75976de6556f ("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