exfat: Simplify exfat_utf8_d_hash() for code points above U+FFFF
authorPali Rohár <pali@kernel.org>
Tue, 17 Mar 2020 22:25:52 +0000 (23:25 +0100)
committerNamjae Jeon <namjae.jeon@samsung.com>
Tue, 9 Jun 2020 07:48:44 +0000 (16:48 +0900)
commitdddf7da3985ee144b46ee287e81e47b9ee8bb980
tree6709f28baaf36b94e74dc0198896295e1d20b9a2
parent31f5acc0aaa319a34308442413ef0b878e9d2c93
exfat: Simplify exfat_utf8_d_hash() for code points above U+FFFF

Function partial_name_hash() takes long type value into which can be stored
one Unicode code point. 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