Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 308504
b: refs/heads/master
c: 7994e6f
h: refs/heads/master
v: v3
  • Loading branch information
Jan Kara authored and Fengguang Wu committed May 6, 2012
1 parent c2ecbb0 commit 08a7e80
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 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: 4f8ad655dbc82cf05d2edc11e66b78a42d38bf93
refs/heads/master: 7994e6f7254354e03028a11f98a27bd67dace9f1
3 changes: 2 additions & 1 deletion trunk/fs/inode.c
Original file line number Diff line number Diff line change
Expand Up @@ -500,7 +500,6 @@ void end_writeback(struct inode *inode)
BUG_ON(!list_empty(&inode->i_data.private_list));
BUG_ON(!(inode->i_state & I_FREEING));
BUG_ON(inode->i_state & I_CLEAR);
inode_sync_wait(inode);
/* don't need i_lock here, no concurrent mods to i_state */
inode->i_state = I_FREEING | I_CLEAR;
}
Expand Down Expand Up @@ -531,6 +530,8 @@ static void evict(struct inode *inode)

inode_sb_list_del(inode);

inode_sync_wait(inode);

if (op->evict_inode) {
op->evict_inode(inode);
} else {
Expand Down

0 comments on commit 08a7e80

Please sign in to comment.