summaryrefslogtreecommitdiffstats
path: root/fs/namei.c
diff options
context:
space:
mode:
authorMiklos Szeredi <mszeredi@suse.cz>2014-10-24 00:14:35 +0200
committerMiklos Szeredi <mszeredi@suse.cz>2014-10-24 00:14:35 +0200
commitbd5d08569cc379f8366663a61558a9ce17c2e460 (patch)
tree8408b3137f09f09f0906bbd91d3f700f956341b5 /fs/namei.c
parent1c118596a7682912106c80007102ce0184c77780 (diff)
downloadlinux-bd5d08569cc379f8366663a61558a9ce17c2e460.tar.bz2
vfs: export __inode_permission() to modules
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>
Diffstat (limited to 'fs/namei.c')
-rw-r--r--fs/namei.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/namei.c b/fs/namei.c
index 75306b3c9526..d944f6db9b07 100644
--- a/fs/namei.c
+++ b/fs/namei.c
@@ -416,6 +416,7 @@ int __inode_permission(struct inode *inode, int mask)
return security_inode_permission(inode, mask);
}
+EXPORT_SYMBOL(__inode_permission);
/**
* sb_permission - Check superblock-level permissions