f2fs: report ENOENT correctly in f2fs_rename
authorJaegeuk Kim <jaegeuk@kernel.org>
Mon, 17 Sep 2018 20:25:04 +0000 (13:25 -0700)
committerJaegeuk Kim <jaegeuk@kernel.org>
Fri, 26 Oct 2018 18:23:19 +0000 (11:23 -0700)
commit765809eabe30c9c3b491c1ec2ec1caddfacb0116
treec8c7a98c0ad93266f8871f06d844a7dda58c13f3
parentfaef6340ed40afe11298183e4925a545aeb1acc0
f2fs: report ENOENT correctly in f2fs_rename

This fixes wrong error report in f2fs_rename.

Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/namei.c