From: Jaegeuk Kim Date: Wed, 15 May 2013 23:57:43 +0000 (+0900) Subject: f2fs: remove unnecessary por_doing check X-Git-Tag: next-20130607~91^2~28 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=0a364af18f27b86869149c4d128262ec1e0ccb25;p=karo-tx-linux.git f2fs: remove unnecessary por_doing check This por_doing check is totally not related to the recovery process. Signed-off-by: Jaegeuk Kim --- diff --git a/fs/f2fs/namei.c b/fs/f2fs/namei.c index 47abc9722b17..729b28548546 100644 --- a/fs/f2fs/namei.c +++ b/fs/f2fs/namei.c @@ -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: