fuse: Cache a NULL acl when FUSE_GETXATTR returns -ENOSYS
When FUSE_GETXATTR will never return anything call cache_no_acl to
cache that state in the vfs as well in fuse with fc->no_getxattr.
The only code path this affects are the code paths that call
fuse_get_acl and caching a NULL or returning it immediately
is exactly the same effect so this should not effect anything.
This keeps the vfs from waisting it's time calling down into fuse
when fuse isn't going to do anything, and it makes it clear
when a NULL should be cached for optimal performance.
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
1 file changed