• Josef Bacik's avatar
    Btrfs: check for actual acls rather than just xattrs when caching no acl · f23b5a59
    Josef Bacik authored
    We have an optimization that will go ahead and cache no acls on an inode if
    there are no xattrs on the inode.  This saves us a lookup later to check the
    acls for writes or any other access.  The problem is I use selinux so I always
    have an xattr on inodes, so make this test a little smarter and check for the
    actual acl hash on the key and if it isn't there then we still get to cache no
    acl which makes everybody who uses selinux a little happier.  Thanks,
    Signed-off-by: default avatarJosef Bacik <jbacik@fusionio.com>
    f23b5a59
inode.c 230 KB