diff options
author | Miklos Szeredi <mszeredi@suse.cz> | 2014-10-23 18:14:35 -0400 |
---|---|---|
committer | Miklos Szeredi <mszeredi@suse.cz> | 2014-10-23 18:14:35 -0400 |
commit | bd5d08569cc379f8366663a61558a9ce17c2e460 (patch) | |
tree | 8408b3137f09f09f0906bbd91d3f700f956341b5 /include/linux/fs.h | |
parent | 1c118596a7682912106c80007102ce0184c77780 (diff) |
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 'include/linux/fs.h')
-rw-r--r-- | include/linux/fs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h index 10ed65b2c31d..5419df70a835 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h | |||
@@ -2257,6 +2257,7 @@ extern sector_t bmap(struct inode *, sector_t); | |||
2257 | #endif | 2257 | #endif |
2258 | extern int notify_change(struct dentry *, struct iattr *, struct inode **); | 2258 | extern int notify_change(struct dentry *, struct iattr *, struct inode **); |
2259 | extern int inode_permission(struct inode *, int); | 2259 | extern int inode_permission(struct inode *, int); |
2260 | extern int __inode_permission(struct inode *, int); | ||
2260 | extern int generic_permission(struct inode *, int); | 2261 | extern int generic_permission(struct inode *, int); |
2261 | 2262 | ||
2262 | static inline bool execute_ok(struct inode *inode) | 2263 | static inline bool execute_ok(struct inode *inode) |