}
EXPORT_SYMBOL(clear_inode);
-static void evict(struct inode *inode, int delete)
+static void evict(struct inode *inode)
{
const struct super_operations *op = inode->i_sb->s_op;
inode = list_first_entry(head, struct inode, i_list);
list_del(&inode->i_list);
- evict(inode, 0);
+ evict(inode);
spin_lock(&inode_lock);
hlist_del_init(&inode->i_hash);
inodes_stat.nr_inodes--;
spin_unlock(&inode_lock);
- evict(inode, 1);
+ evict(inode);
spin_lock(&inode_lock);
hlist_del_init(&inode->i_hash);
{
if (!generic_detach_inode(inode))
return;
- evict(inode, 0);
+ evict(inode);
wake_up_inode(inode);
destroy_inode(inode);
}