summaryrefslogtreecommitdiff
path: root/fs/nls/Kconfig
diff options
context:
space:
mode:
authorDr. David Alan Gilbert <linux@treblig.org>2023-08-17 01:22:30 +0100
committerSteve French <stfrench@microsoft.com>2023-08-30 08:55:51 -0500
commit089f7f591348ca3325639f541fa4f78d9540dab5 (patch)
treec93e2cbef2728217c8789dfbf4cc0acff58386f8 /fs/nls/Kconfig
parent9e74938954749ecc3e0da63d0e211238ad4b2425 (diff)
fs/smb: Swing unicode common code from smb->NLS
Swing most of the inline functions and unicode tables into nls from the copy in smb/server. This is UCS-2 rather than most of the rest of the code in NLS, but it currently seems like the best place for it. The actual unicode.c implementations vary much more between server and client so they're unmoved. Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org> Reviewed-by: Dave Kleikamp <dave.kleikamp@oracle.com> Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/nls/Kconfig')
-rw-r--r--fs/nls/Kconfig8
1 files changed, 8 insertions, 0 deletions
diff --git a/fs/nls/Kconfig b/fs/nls/Kconfig
index c7857e36adbb..a0d0e2f7ec83 100644
--- a/fs/nls/Kconfig
+++ b/fs/nls/Kconfig
@@ -617,4 +617,12 @@ config NLS_UTF8
input/output character sets. Say Y here for the UTF-8 encoding of
the Unicode/ISO9646 universal character set.
+config NLS_UCS2_UTILS
+ tristate "NLS UCS-2 UTILS"
+ help
+ Set of older UCS-2 conversion utilities and tables used by some
+ filesystems including SMB/CIFS. This includes upper case conversion
+ tables. This will automatically be selected when the filesystem
+ that uses it is selected.
+
endif # NLS