diff options
Diffstat (limited to 'fs/ext4/ialloc.c')
-rw-r--r-- | fs/ext4/ialloc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/ext4/ialloc.c b/fs/ext4/ialloc.c index f3624ead4f6c..2fab5adae1e2 100644 --- a/fs/ext4/ialloc.c +++ b/fs/ext4/ialloc.c | |||
@@ -1029,7 +1029,8 @@ got: | |||
1029 | inode->i_generation = sbi->s_next_generation++; | 1029 | inode->i_generation = sbi->s_next_generation++; |
1030 | spin_unlock(&sbi->s_next_gen_lock); | 1030 | spin_unlock(&sbi->s_next_gen_lock); |
1031 | 1031 | ||
1032 | ei->i_state = EXT4_STATE_NEW; | 1032 | ei->i_state_flags = 0; |
1033 | ext4_set_inode_state(inode, EXT4_STATE_NEW); | ||
1033 | 1034 | ||
1034 | ei->i_extra_isize = EXT4_SB(sb)->s_want_extra_isize; | 1035 | ei->i_extra_isize = EXT4_SB(sb)->s_want_extra_isize; |
1035 | 1036 | ||