|
|
@@ -74,12 +74,12 @@ static struct inode *f2fs_new_inode(struct inode *dir, umode_t mode)
|
|
|
if (err)
|
|
|
goto fail_drop;
|
|
|
|
|
|
+ set_inode_flag(inode, FI_NEW_INODE);
|
|
|
+
|
|
|
/* If the directory encrypted, then we should encrypt the inode. */
|
|
|
if (f2fs_encrypted_inode(dir) && f2fs_may_encrypt(inode))
|
|
|
f2fs_set_encrypted_inode(inode);
|
|
|
|
|
|
- set_inode_flag(inode, FI_NEW_INODE);
|
|
|
-
|
|
|
if (f2fs_sb_has_extra_attr(sbi->sb)) {
|
|
|
set_inode_flag(inode, FI_EXTRA_ATTR);
|
|
|
F2FS_I(inode)->i_extra_isize = F2FS_TOTAL_EXTRA_ATTR_SIZE;
|