Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 263166
b: refs/heads/master
c: 2581fdc
h: refs/heads/master
v: v3
  • Loading branch information
Jiaying Zhang authored and Theodore Ts'o committed Aug 13, 2011
1 parent 2ccc182 commit eddf90c
Show file tree
Hide file tree
Showing 3 changed files with 7 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: 441c850857148935babe000fc2ba1455fe54a6a9
refs/heads/master: 2581fdc810889fdea97689cb62481201d579c796
6 changes: 6 additions & 0 deletions trunk/fs/ext4/inode.c
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,12 @@ void ext4_evict_inode(struct inode *inode)
int err;

trace_ext4_evict_inode(inode);

mutex_lock(&inode->i_mutex);
ext4_flush_completed_IO(inode);
mutex_unlock(&inode->i_mutex);
ext4_ioend_wait(inode);

if (inode->i_nlink) {
/*
* When journalling data dirty buffers are tracked only in the
Expand Down
1 change: 0 additions & 1 deletion trunk/fs/ext4/super.c
Original file line number Diff line number Diff line change
Expand Up @@ -919,7 +919,6 @@ static void ext4_i_callback(struct rcu_head *head)

static void ext4_destroy_inode(struct inode *inode)
{
ext4_ioend_wait(inode);
if (!list_empty(&(EXT4_I(inode)->i_orphan))) {
ext4_msg(inode->i_sb, KERN_ERR,
"Inode %lu (%p): orphan list check failed!",
Expand Down

0 comments on commit eddf90c

Please sign in to comment.