nfsd: Checking for acl support does not require fetching any acls
authorAndreas Gruenbacher <andreas.gruenbacher@gmail.com>
Fri, 24 Apr 2015 11:04:00 +0000 (13:04 +0200)
committerJ. Bruce Fields <bfields@redhat.com>
Fri, 29 May 2015 15:04:02 +0000 (11:04 -0400)
commit0c9d65e76a19ad7c3d7e64fd30bc66b8b6d000ee
tree4e1a69ec29fdc80a32bef7bcf047904c0bcf1842
parentcc265089ce1b176dde963c74b53593446ee7f99a
nfsd: Checking for acl support does not require fetching any acls

Whether or not a file system supports acls can be determined with
IS_POSIXACL(inode) and does not require trying to fetch any acls; the code for
computing the supported_attrs and aclsupport attributes can be simplified.

Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfs4xdr.c