unicode: pass a UNICODE_AGE() tripple to utf8_load
authorChristoph Hellwig <hch@lst.de>
Wed, 15 Sep 2021 07:00:00 +0000 (09:00 +0200)
committerGabriel Krisman Bertazi <krisman@collabora.com>
Mon, 11 Oct 2021 20:01:46 +0000 (17:01 -0300)
commit49bd03cc7e95cb78420305ca2f5ef67497b6fa80
tree5fb64ae823accadc746d0e16dc290c8c4baa3cf8
parentf3a9c82396006a5664f6e398d6928799d29de76e
unicode: pass a UNICODE_AGE() tripple to utf8_load

Don't bother with pointless string parsing when the caller can just pass
the version in the format that the core expects.  Also remove the
fallback to the latest version that none of the callers actually uses.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Gabriel Krisman Bertazi <krisman@collabora.com>
fs/ext4/super.c
fs/f2fs/super.c
fs/unicode/utf8-core.c
fs/unicode/utf8-norm.c
fs/unicode/utf8-selftest.c
fs/unicode/utf8n.h
include/linux/unicode.h