f2fs: introduce f2fs_match_name() for cleanup
authorChao Yu <yuchao0@huawei.com>
Wed, 21 Aug 2019 15:13:34 +0000 (23:13 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Fri, 23 Aug 2019 14:57:15 +0000 (07:57 -0700)
commitfe76a166a1e3dd2cc906e5468fda9834029d6258
tree7f13defe5bb8b1eec65c68f1722b62e381fc0563
parentbbf9f7d90f21e05e31b7cdd95b32f64dd2819dfe
f2fs: introduce f2fs_match_name() for cleanup

This patch introduces f2fs_match_name() for cleanup.

BTW, it avoids to fallback to normal comparison once it doesn't
match casefolded name.

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