Skip to content

Commit 3e5a4c9

Browse files
author
Miklos Szeredi
committed
vfs: remove file_needs_remove_privs()
This function is now unused. Signed-off-by: Miklos Szeredi <[email protected]>
1 parent c1892c3 commit 3e5a4c9

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

include/linux/fs.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2726,10 +2726,6 @@ extern void free_inode_nonrcu(struct inode *inode);
27262726
extern int should_remove_suid(struct dentry *);
27272727
extern int file_remove_privs(struct file *);
27282728
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-
}
27332729

27342730
extern void __insert_inode_hash(struct inode *, unsigned long hashval);
27352731
static inline void insert_inode_hash(struct inode *inode)

0 commit comments

Comments
 (0)