diff --git a/fs/ext4/super.c b/fs/ext4/super.c index 878be47faaaf21f47d410453d0652847437a18e1..28d009151d238ffa9f2f63c765666d0d7b9db46b 100644 --- a/fs/ext4/super.c +++ b/fs/ext4/super.c @@ -1324,6 +1324,7 @@ static struct inode *ext4_alloc_inode(struct super_block *sb) return NULL; inode_set_iversion(&ei->vfs_inode, 1); + ei->i_flags = 0; spin_lock_init(&ei->i_raw_lock); INIT_LIST_HEAD(&ei->i_prealloc_list); atomic_set(&ei->i_prealloc_active, 0);