Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 207582
b: refs/heads/master
c: 644da59
h: refs/heads/master
v: v3
  • Loading branch information
Al Viro committed Aug 9, 2010
1 parent 20571c7 commit 55aafc0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 07958f9f5b9e8422c15368a1733a52ea99009896
refs/heads/master: 644da5960ded137c339bc69bc2aeac54f73aad59
8 changes: 4 additions & 4 deletions trunk/fs/inode.c
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ void clear_inode(struct inode *inode)
}
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;

Expand Down Expand Up @@ -363,7 +363,7 @@ static void dispose_list(struct list_head *head)
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);
Expand Down Expand Up @@ -1224,7 +1224,7 @@ void generic_delete_inode(struct inode *inode)
inodes_stat.nr_inodes--;
spin_unlock(&inode_lock);

evict(inode, 1);
evict(inode);

spin_lock(&inode_lock);
hlist_del_init(&inode->i_hash);
Expand Down Expand Up @@ -1279,7 +1279,7 @@ static void generic_forget_inode(struct inode *inode)
{
if (!generic_detach_inode(inode))
return;
evict(inode, 0);
evict(inode);
wake_up_inode(inode);
destroy_inode(inode);
}
Expand Down

0 comments on commit 55aafc0

Please sign in to comment.