fs/ntfs3: Add compression
authorKonstantin Komarov <almaz.alexandrovich@paragon-software.com>
Fri, 13 Aug 2021 14:21:30 +0000 (17:21 +0300)
committerKonstantin Komarov <almaz.alexandrovich@paragon-software.com>
Fri, 13 Aug 2021 14:56:00 +0000 (07:56 -0700)
commit522e010b58379fbe19b38fdef5016bca0c3cf405
treec04cdf90dc773687fa32513e822f38b30dc9c3e1
parentbe71b5cba2e6485e8959da7a9f9a44461a1bb074
fs/ntfs3: Add compression

This patch adds different types of NTFS-applicable compressions:
- lznt
- lzx
- xpress
Latter two (lzx, xpress) implement Windows Compact OS feature and
were taken from ntfs-3g system comression plugin authored by Eric Biggers
(https://github.com/ebiggers/ntfs-3g-system-compression)
which were ported to ntfs3 and adapted to Linux Kernel environment.

Signed-off-by: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>
fs/ntfs3/lib/decompress_common.c [new file with mode: 0644]
fs/ntfs3/lib/decompress_common.h [new file with mode: 0644]
fs/ntfs3/lib/lib.h [new file with mode: 0644]
fs/ntfs3/lib/lzx_decompress.c [new file with mode: 0644]
fs/ntfs3/lib/xpress_decompress.c [new file with mode: 0644]
fs/ntfs3/lznt.c [new file with mode: 0644]