vfs, afs, ext4: Make the inode hash table RCU searchable
[linux-2.6-microblaze.git] / include / linux / fs.h
index 45cc10c..5f9b2bb 100644 (file)
@@ -3070,6 +3070,9 @@ extern struct inode *find_inode_nowait(struct super_block *,
                                       int (*match)(struct inode *,
                                                    unsigned long, void *),
                                       void *data);
+extern struct inode *find_inode_rcu(struct super_block *, unsigned long,
+                                   int (*)(struct inode *, void *), void *);
+extern struct inode *find_inode_by_ino_rcu(struct super_block *, unsigned long);
 extern int insert_inode_locked4(struct inode *, unsigned long, int (*test)(struct inode *, void *), void *);
 extern int insert_inode_locked(struct inode *);
 #ifdef CONFIG_DEBUG_LOCK_ALLOC