]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
nfsd: fix supported attributes for acl & labels
authorJ. Bruce Fields <bfields@redhat.com>
Thu, 12 Jan 2017 01:34:50 +0000 (20:34 -0500)
committerJ. Bruce Fields <bfields@redhat.com>
Thu, 12 Jan 2017 20:55:51 +0000 (15:55 -0500)
commitdcd208697707b12adeaa45643bab239c5e90ef9b
tree746ca608b9402be469406830a20855cdae0473eb
parent0c744ea4f77d72b3dcebb7a8f2684633ec79be88
nfsd: fix supported attributes for acl & labels

Oops--in 916d2d844afd I moved some constants into an array for
convenience, but here I'm accidentally writing to that array.

The effect is that if you ever encounter a filesystem lacking support
for ACLs or security labels, then all queries of supported attributes
will report that attribute as unsupported from then on.

Fixes: 916d2d844afd "nfsd: clean up supported attribute handling"
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfs4xdr.c