exfat: Simplify exfat_utf8_d_cmp() for code points above U+FFFF
authorPali Rohár <pali@kernel.org>
Tue, 17 Mar 2020 21:34:33 +0000 (22:34 +0100)
committerNamjae Jeon <namjae.jeon@samsung.com>
Tue, 9 Jun 2020 07:48:28 +0000 (16:48 +0900)
commit197298a64983e2beaf1a87413daff3044b4f3821
treeae6fd19f59a4e06321ae84adcbc713cd2b1d59a5
parent3d77e6a8804abcc0504c904bd6e5cdf3a5cf8162
exfat: Simplify exfat_utf8_d_cmp() for code points above U+FFFF

If two Unicode code points represented in UTF-16 are different then also
their UTF-32 representation must be different. Therefore conversion from
UTF-32 to UTF-16 is not needed.

Signed-off-by: Pali Rohár <pali@kernel.org>
Signed-off-by: Namjae Jeon <namjae.jeon@samsung.com>
fs/exfat/namei.c