vfs: export __inode_permission() to modules
authorMiklos Szeredi <mszeredi@suse.cz>
Thu, 23 Oct 2014 22:14:35 +0000 (00:14 +0200)
committerMiklos Szeredi <mszeredi@suse.cz>
Thu, 23 Oct 2014 22:14:35 +0000 (00:14 +0200)
We need to be able to check inode permissions (but not filesystem implied
permissions) for stackable filesystems.  Expose this interface for overlayfs.

Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
fs/internal.h
fs/namei.c
include/linux/fs.h

index 0f0626a..757ba2a 100644 (file)
@@ -47,7 +47,6 @@ extern void __init chrdev_init(void);
 /*
  * namei.c
  */
-extern int __inode_permission(struct inode *, int);
 extern int user_path_mountpoint_at(int, const char __user *, unsigned int, struct path *);
 extern int vfs_path_lookup(struct dentry *, struct vfsmount *,
                           const char *, unsigned int, struct path *);
diff --cc fs/namei.c
Simple merge
Simple merge