]> git.baikalelectronics.ru Git - kernel.git/commit
unicode: clean up the Kconfig symbol confusion
authorChristoph Hellwig <hch@lst.de>
Tue, 18 Jan 2022 06:56:14 +0000 (07:56 +0100)
committerGabriel Krisman Bertazi <krisman@collabora.com>
Fri, 21 Jan 2022 00:57:24 +0000 (19:57 -0500)
commite541df62df4d29257e333971ea630aa038fe63fd
tree60ea007ad0db7e699df97f5d38b66ef811a65b0c
parentd35d78f1c5894a583b676ae2cb275ec83d97f04b
unicode: clean up the Kconfig symbol confusion

Turn the CONFIG_UNICODE symbol into a tristate that generates some always
built in code and remove the confusing CONFIG_UNICODE_UTF8_DATA symbol.

Note that a lot of the IS_ENABLED() checks could be turned from cpp
statements into normal ifs, but this change is intended to be fairly
mechanic, so that should be cleaned up later.

Fixes: f2d356a12874 ("unicode: Add utf8-data module")
Reported-by: Linus Torvalds <torvalds@linux-foundation.org>
Reviewed-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Gabriel Krisman Bertazi <krisman@collabora.com>
17 files changed:
fs/Makefile
fs/ext4/ext4.h
fs/ext4/hash.c
fs/ext4/namei.c
fs/ext4/super.c
fs/ext4/sysfs.c
fs/f2fs/dir.c
fs/f2fs/f2fs.h
fs/f2fs/hash.c
fs/f2fs/namei.c
fs/f2fs/recovery.c
fs/f2fs/super.c
fs/f2fs/sysfs.c
fs/libfs.c
fs/unicode/Kconfig
fs/unicode/Makefile
include/linux/fs.h