mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-10 15:19:51 +00:00
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>
This commit is contained in:
parent
74d0b917ef
commit
0a364af18f
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user