]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
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>
Mon, 20 May 2013 07:05:40 +0000 (16:05 +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 47abc9722b17abfae9656b3d5d52360fc8e72ad8..729b28548546c52d8ca3e76778ad81cfedea9324 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: