Commit 646f64b5 authored by Wang Xiaojun's avatar Wang Xiaojun Committed by Jaegeuk Kim

f2fs: remove redundant parameter judgment

iput() has already judged the incoming parameter, so there is
no need to repeat the judgment here.
Signed-off-by: default avatarWang Xiaojun <wangxiaojun11@huawei.com>
Reviewed-by: default avatarChao Yu <chao@kernel.org>
Signed-off-by: default avatarJaegeuk Kim <jaegeuk@kernel.org>
parent 98237fcd
......@@ -1111,7 +1111,6 @@ static int f2fs_rename(struct user_namespace *mnt_userns, struct inode *old_dir,
out_old:
f2fs_put_page(old_page, 0);
out:
if (whiteout)
iput(whiteout);
return err;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment