diff options
author | Miklos Szeredi <mszeredi@redhat.com> | 2016-08-03 07:44:27 -0400 |
---|---|---|
committer | Miklos Szeredi <mszeredi@redhat.com> | 2016-08-03 07:57:56 -0400 |
commit | 3e5a4c94a4f88b545d64bbfc7647b06b92c66e98 (patch) | |
tree | c3171b6eb6a2181de9b3b521386e2b26a318a68a | |
parent | c1892c37769cf89c7e7ba57528ae2ccb5d153c9b (diff) |
vfs: remove file_needs_remove_privs()
This function is now unused.
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
-rw-r--r-- | include/linux/fs.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h index dd288148a6b1..3888341913ef 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h | |||
@@ -2726,10 +2726,6 @@ extern void free_inode_nonrcu(struct inode *inode); | |||
2726 | extern int should_remove_suid(struct dentry *); | 2726 | extern int should_remove_suid(struct dentry *); |
2727 | extern int file_remove_privs(struct file *); | 2727 | extern int file_remove_privs(struct file *); |
2728 | extern int dentry_needs_remove_privs(struct dentry *dentry); | 2728 | extern int dentry_needs_remove_privs(struct dentry *dentry); |
2729 | static inline int file_needs_remove_privs(struct file *file) | ||
2730 | { | ||
2731 | return dentry_needs_remove_privs(file->f_path.dentry); | ||
2732 | } | ||
2733 | 2729 | ||
2734 | extern void __insert_inode_hash(struct inode *, unsigned long hashval); | 2730 | extern void __insert_inode_hash(struct inode *, unsigned long hashval); |
2735 | static inline void insert_inode_hash(struct inode *inode) | 2731 | static inline void insert_inode_hash(struct inode *inode) |