Commit 0a364af1 authored by Jaegeuk Kim's avatar Jaegeuk Kim

f2fs: remove unnecessary por_doing check

This por_doing check is totally not related to the recovery process.
Signed-off-by: default avatarJaegeuk Kim <jaegeuk.kim@samsung.com>
parent 74d0b917
...@@ -149,8 +149,7 @@ static int f2fs_create(struct inode *dir, struct dentry *dentry, umode_t mode, ...@@ -149,8 +149,7 @@ static int f2fs_create(struct inode *dir, struct dentry *dentry, umode_t mode,
alloc_nid_done(sbi, ino); alloc_nid_done(sbi, ino);
if (!sbi->por_doing) d_instantiate(dentry, inode);
d_instantiate(dentry, inode);
unlock_new_inode(inode); unlock_new_inode(inode);
return 0; return 0;
out: out:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment