aboutsummaryrefslogtreecommitdiff
path: root/mm/shmem_acl.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2009-08-28 11:51:25 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2009-09-08 11:07:44 -0700
commit5909ccaa300a4a834ffa275327af4df0b9cb5295 (patch)
treeb4e402a2a544be7c59bccd4b4533787f2f19e7bc /mm/shmem_acl.c
parentcb9179ead0aa0e3b7b4087cdba59baf16bbeef6d (diff)
Make 'check_acl()' a first-class filesystem op
This is stage one in flattening out the callchains for the common permission testing. Rather than have most filesystem implement their own inode->i_op->permission function that just calls back down to the VFS layers 'generic_permission()' with the per-filesystem ACL checking function, the filesystem can just expose its 'check_acl' function directly, and let the VFS layer do everything for it. This is all just preparatory - no filesystem actually enables this yet. Reviewed-by: James Morris <jmorris@namei.org> Acked-by: Serge Hallyn <serue@us.ibm.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/shmem_acl.c')
0 files changed, 0 insertions, 0 deletions