vfs: move ACL cache lookup into generic code
This moves logic for checking the cached ACL values from low-level filesystems into generic code. The end result is a streamlined ACL check that doesn't need to load the inode->i_op->check_acl pointer at all for the common cached case. The filesystems also don't need to check for a non-blocking RCU walk case in their acl_check() functions, because that is all handled at a VFS layer. Signed-off-by:Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by:
Al Viro <viro@zeniv.linux.org.uk>
Showing
- fs/9p/acl.c 0 additions, 3 deletionsfs/9p/acl.c
- fs/btrfs/acl.c 7 additions, 12 deletionsfs/btrfs/acl.c
- fs/ext2/acl.c 0 additions, 6 deletionsfs/ext2/acl.c
- fs/ext3/acl.c 0 additions, 6 deletionsfs/ext3/acl.c
- fs/ext4/acl.c 0 additions, 6 deletionsfs/ext4/acl.c
- fs/generic_acl.c 7 additions, 12 deletionsfs/generic_acl.c
- fs/gfs2/acl.c 0 additions, 6 deletionsfs/gfs2/acl.c
- fs/jffs2/acl.c 0 additions, 3 deletionsfs/jffs2/acl.c
- fs/jfs/acl.c 0 additions, 3 deletionsfs/jfs/acl.c
- fs/namei.c 49 additions, 3 deletionsfs/namei.c
- fs/ocfs2/acl.c 0 additions, 3 deletionsfs/ocfs2/acl.c
- fs/xfs/linux-2.6/xfs_acl.c 2 additions, 6 deletionsfs/xfs/linux-2.6/xfs_acl.c
Loading
Please register or sign in to comment