summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMiklos Szeredi <mszeredi@redhat.com>2016-08-03 13:44:27 +0200
committerMiklos Szeredi <mszeredi@redhat.com>2016-08-03 13:57:56 +0200
commit3e5a4c94a4f88b545d64bbfc7647b06b92c66e98 (patch)
treec3171b6eb6a2181de9b3b521386e2b26a318a68a /include
parentc1892c37769cf89c7e7ba57528ae2ccb5d153c9b (diff)
vfs: remove file_needs_remove_privs()
This function is now unused. Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/fs.h4
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);
extern int should_remove_suid(struct dentry *);
extern int file_remove_privs(struct file *);
extern int dentry_needs_remove_privs(struct dentry *dentry);
-static inline int file_needs_remove_privs(struct file *file)
-{
- return dentry_needs_remove_privs(file->f_path.dentry);
-}
extern void __insert_inode_hash(struct inode *, unsigned long hashval);
static inline void insert_inode_hash(struct inode *inode)