aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2008-07-22 00:07:17 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2008-07-26 20:53:31 -0400
commitf419a2e3b64def707e1384ee38abb77f99af5f6d (patch)
treeadbe12c510f04cf25ca6f822ee8004c8679a3a63 /include/linux
parent30524472c2f728c20d6bf35191042a5d455c0a64 (diff)
[PATCH] kill nameidata passing to permission(), rename to inode_permission()
Incidentally, the name that gives hundreds of false positives on grep is not a good idea... Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/fs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h
index 527b9e482f99..9d2de4cadabd 100644
--- a/include/linux/fs.h
+++ b/include/linux/fs.h
@@ -1770,7 +1770,7 @@ extern int do_remount_sb(struct super_block *sb, int flags,
1770extern sector_t bmap(struct inode *, sector_t); 1770extern sector_t bmap(struct inode *, sector_t);
1771#endif 1771#endif
1772extern int notify_change(struct dentry *, struct iattr *); 1772extern int notify_change(struct dentry *, struct iattr *);
1773extern int permission(struct inode *, int, struct nameidata *); 1773extern int inode_permission(struct inode *, int);
1774extern int generic_permission(struct inode *, int, 1774extern int generic_permission(struct inode *, int,
1775 int (*check_acl)(struct inode *, int)); 1775 int (*check_acl)(struct inode *, int));
1776 1776