From: Nick Piggin Date: Fri, 7 Jan 2011 06:49:59 +0000 (+1100) Subject: fs: provide simple rcu-walk generic_check_acl implementation X-Git-Tag: v2.6.38-rc1~468^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1e1743ebe35ec7e3c1fa732408358fbc614cbbe5;p=pandora-kernel.git fs: provide simple rcu-walk generic_check_acl implementation This simple implementation just checks for no ACLs on the inode, and if so, then the rcu-walk may proceed, otherwise fail it. This could easily be extended to put acls under RCU and check them under seqlock, if need be. But this implementation is enough to show the rcu-walk aware permissions code for path lookups is working, and will handle cases where there are no ACLs or ACLs in just the final element. This patch implicity converts tmpfs to rcu-aware permission check. Subsequent patches onvert ext*, xfs, and, btrfs. Each of these uses acl/permission code in a different way, so convert them all to provide templates and proof of concept. Signed-off-by: Nick Piggin --- Reading git-diff-tree failed