diff options
Diffstat (limited to 'fs/inode.c')
-rw-r--r-- | fs/inode.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/inode.c b/fs/inode.c index 826fb0b9d1c3..06aa5a1fb61b 100644 --- a/fs/inode.c +++ b/fs/inode.c | |||
@@ -356,6 +356,8 @@ static int invalidate_list(struct list_head *head, struct list_head *dispose) | |||
356 | if (tmp == head) | 356 | if (tmp == head) |
357 | break; | 357 | break; |
358 | inode = list_entry(tmp, struct inode, i_sb_list); | 358 | inode = list_entry(tmp, struct inode, i_sb_list); |
359 | if (inode->i_state & I_NEW) | ||
360 | continue; | ||
359 | invalidate_inode_buffers(inode); | 361 | invalidate_inode_buffers(inode); |
360 | if (!atomic_read(&inode->i_count)) { | 362 | if (!atomic_read(&inode->i_count)) { |
361 | list_move(&inode->i_list, dispose); | 363 | list_move(&inode->i_list, dispose); |