vfs: move ACL cache lookup into generic code
authorLinus Torvalds <torvalds@linux-foundation.org>
Sat, 23 Jul 2011 02:30:19 +0000 (19:30 -0700)
committerAl Viro <viro@zeniv.linux.org.uk>
Mon, 25 Jul 2011 18:23:39 +0000 (14:23 -0400)
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>

No differences found