]> git.baikalelectronics.ru Git - kernel.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)
commitb0522c976472c618a22e08d30f5e25d50ad89373
tree746ca608b9402be469406830a20855cdae0473eb
parenta780c2d5637d959a6133b349d5166a4148a42da3
nfsd: fix supported attributes for acl & labels

Oops--in f4beb562eece 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: f4beb562eece "nfsd: clean up supported attribute handling"
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfs4xdr.c