diff options
author | Jaegeuk Kim <jaegeuk.kim@samsung.com> | 2013-05-16 08:57:43 +0900 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk.kim@samsung.com> | 2013-05-28 15:03:01 +0900 |
commit | 0a364af18f27b86869149c4d128262ec1e0ccb25 (patch) | |
tree | 460ed404010bdb87c49fececfec73bc4032085c9 /fs/f2fs/namei.c | |
parent | 74d0b917ef7789097e12d60fc054efa427ce9171 (diff) | |
download | linux-stable-0a364af18f27b86869149c4d128262ec1e0ccb25.tar.gz linux-stable-0a364af18f27b86869149c4d128262ec1e0ccb25.tar.bz2 linux-stable-0a364af18f27b86869149c4d128262ec1e0ccb25.zip |
f2fs: remove unnecessary por_doing check
This por_doing check is totally not related to the recovery process.
Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
Diffstat (limited to 'fs/f2fs/namei.c')
-rw-r--r-- | fs/f2fs/namei.c | 3 |
1 files changed, 1 insertions, 2 deletions
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: |