aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/fs.h
diff options
context:
space:
mode:
authorNick Piggin <npiggin@kernel.dk>2011-01-07 17:49:50 +1100
committerNick Piggin <npiggin@kernel.dk>2011-01-07 17:50:26 +1100
commitff0c7d15f9787b7e8c601533c015295cc68329f8 (patch)
treee3db53950b8ed78e542ab35a3cd3a6eaee26eccd /include/linux/fs.h
parentfa0d7e3de6d6fc5004ad9dea0dd6b286af8f03e9 (diff)
downloadkernel_samsung_espresso10-ff0c7d15f9787b7e8c601533c015295cc68329f8.zip
kernel_samsung_espresso10-ff0c7d15f9787b7e8c601533c015295cc68329f8.tar.gz
kernel_samsung_espresso10-ff0c7d15f9787b7e8c601533c015295cc68329f8.tar.bz2
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>
Diffstat (limited to 'include/linux/fs.h')
-rw-r--r--include/linux/fs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h
index 1ff4d0a..ea202ff 100644
--- a/include/linux/fs.h
+++ b/include/linux/fs.h
@@ -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 *);