summaryrefslogtreecommitdiff
path: root/fs/btrfs/extent-tree.c
diff options
context:
space:
mode:
authorJosef Bacik <jbacik@fusionio.com>2013-06-19 14:16:26 (GMT)
committerJosef Bacik <jbacik@fusionio.com>2013-07-02 15:50:40 (GMT)
commitf23b5a59955c0ea13c6da211fb06f39348e3c794 (patch)
treef30d37d643701406d095d4be39e1e14ec38e2669 /fs/btrfs/extent-tree.c
parenta71754fc68f740b7ed46bb83123c63fbbc130611 (diff)
downloadlinux-fsl-qoriq-f23b5a59955c0ea13c6da211fb06f39348e3c794.tar.xz
Btrfs: check for actual acls rather than just xattrs when caching no acl
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: Josef Bacik <jbacik@fusionio.com>
Diffstat (limited to 'fs/btrfs/extent-tree.c')
0 files changed, 0 insertions, 0 deletions