From d38ce59d16d53194cf184baa822d5f2ad528b92e Mon Sep 17 00:00:00 2001 From: Hyunchul Lee Date: Fri, 21 Aug 2026 14:00:52 +0900 Subject: [PATCH] ntfs: add WOF compression config option Add CONFIG_NTFS_FS_WOF_COMPRESSION for Windows system compression. Build XPRESS and LZX decoding code only when requested. Signed-off-by: Hyunchul Lee Signed-off-by: Namjae Jeon --- fs/ntfs/Kconfig | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/fs/ntfs/Kconfig b/fs/ntfs/Kconfig index 6a6acde9ba91..f88f4138f921 100644 --- a/fs/ntfs/Kconfig +++ b/fs/ntfs/Kconfig @@ -10,6 +10,17 @@ config NTFS_FS To compile this as a module, choose M here: the module will be called ntfs. +config NTFS_FS_WOF_COMPRESSION + bool "NTFS Windows system compression support" + depends on NTFS_FS + help + Enable read support for Windows system-compressed files. + Windows more aggressively compresses system files such as binaries + and DLLs using system compression. It is optimized for files that + are rarely modified. + Enabling this option builds the decompression support into the NTFS + module. + config NTFS_DEBUG bool "NTFS debugging support" depends on NTFS_FS