Skip to content

Commit

Permalink
f2fs: remove unnecessary por_doing check
Browse files Browse the repository at this point in the history
This por_doing check is totally not related to the recovery process.

Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
  • Loading branch information
Jaegeuk Kim committed May 28, 2013
1 parent 74d0b91 commit 0a364af
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions fs/f2fs/namei.c
Original file line number Diff line number Diff line change
Expand Up @@ -149,8 +149,7 @@ static int f2fs_create(struct inode *dir, struct dentry *dentry, umode_t mode,

alloc_nid_done(sbi, ino);

if (!sbi->por_doing)
d_instantiate(dentry, inode);
d_instantiate(dentry, inode);
unlock_new_inode(inode);
return 0;
out:
Expand Down

0 comments on commit 0a364af

Please sign in to comment.