fs: avoid inode RCU freeing for pseudo fs
Pseudo filesystems that don't put inode on RCU list or reachable by rcu-walk dentries do not need to RCU free their inodes. Signed-off-by: Nick Piggin <npiggin@kernel.dk>
This commit is contained in:
parent
fa0d7e3de6
commit
ff0c7d15f9
5 changed files with 23 additions and 10 deletions
|
@ -2233,6 +2233,7 @@ extern void iget_failed(struct inode *);
|
|||
extern void end_writeback(struct inode *);
|
||||
extern void __destroy_inode(struct inode *);
|
||||
extern struct inode *new_inode(struct super_block *);
|
||||
extern void free_inode_nonrcu(struct inode *inode);
|
||||
extern int should_remove_suid(struct dentry *);
|
||||
extern int file_remove_suid(struct file *);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue