commit | e4543eddfd3bf3e0d625841377fa695a519edfd4 | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Tue Nov 08 21:35:04 2005 -0800 |
committer | Linus Torvalds <torvalds@g5.osdl.org> | Wed Nov 09 07:55:58 2005 -0800 |
tree | b62546cb0038529bd8cd583333c556ad799f2081 | |
parent | e4a53cbabc81f04e24a5570b4aa6a6384bdbfc67 [diff] |
[PATCH] add a vfs_permission helper Most permission() calls have a struct nameidata * available. This helper takes that as an argument and thus makes sure we pass it down for lookup intents and prepares for per-mount read-only support where we need a struct vfsmount for checking whether a file is writeable. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>