jffs2/jfs/xfs: switch over to 'check_acl' rather than 'permission()'
authorLinus Torvalds <torvalds@linux-foundation.org>
Fri, 28 Aug 2009 19:29:03 +0000 (12:29 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 8 Sep 2009 18:09:04 +0000 (11:09 -0700)
commit18f4c644773bc8de1fd9c5182b30c231aafb94ef
treeb423bdb22304c6af3ad0f26b873e6081fafc8f01
parent1d5ccd1c422d7d292a9e45248aa36771900c6331
jffs2/jfs/xfs: switch over to 'check_acl' rather than 'permission()'

This avoids an indirect call in the VFS for each path component lookup.

Well, at least as long as you own the directory in question, and the ACL
check is unnecessary.

Reviewed-by: James Morris <jmorris@namei.org>
Acked-by: Serge Hallyn <serue@us.ibm.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/jffs2/acl.c
fs/jffs2/acl.h
fs/jffs2/dir.c
fs/jffs2/file.c
fs/jffs2/symlink.c
fs/jfs/acl.c
fs/jfs/file.c
fs/jfs/jfs_acl.h
fs/jfs/namei.c
fs/xfs/linux-2.6/xfs_iops.c