f2fs: remove unnecessary por_doing check
authorJaegeuk Kim <jaegeuk.kim@samsung.com>
Wed, 15 May 2013 23:57:43 +0000 (08:57 +0900)
committerJaegeuk Kim <jaegeuk.kim@samsung.com>
Tue, 28 May 2013 06:03:01 +0000 (15:03 +0900)
This por_doing check is totally not related to the recovery process.

Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
fs/f2fs/namei.c

index 47abc97..729b285 100644 (file)
@@ -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: