aboutsummaryrefslogtreecommitdiffstats
path: root/fs/squashfs/squashfs_fs.h
diff options
context:
space:
mode:
authorPhillip Lougher <phillip@squashfs.org.uk>2014-11-27 01:49:14 -0500
committerPhillip Lougher <phillip@squashfs.org.uk>2014-11-27 02:44:11 -0500
commit9c06a46f1524a05b2dccf5c74d7555b2cfcbe5db (patch)
tree757488bc834c033f8bd491ff84adcc74fdc7e0e5 /fs/squashfs/squashfs_fs.h
parent5d01410fe4d92081f349b013a2e7a95429e4f2c9 (diff)
Squashfs: add LZ4 compression support
Add support for reading file systems compressed with the LZ4 compression algorithm. This patch adds the LZ4 decompressor wrapper code. Signed-off-by: Phillip Lougher <phillip@squashfs.org.uk>
Diffstat (limited to 'fs/squashfs/squashfs_fs.h')
-rw-r--r--fs/squashfs/squashfs_fs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/squashfs/squashfs_fs.h b/fs/squashfs/squashfs_fs.h
index 4b2beda49498..506f4ba5b983 100644
--- a/fs/squashfs/squashfs_fs.h
+++ b/fs/squashfs/squashfs_fs.h
@@ -240,6 +240,7 @@ struct meta_index {
240#define LZMA_COMPRESSION 2 240#define LZMA_COMPRESSION 2
241#define LZO_COMPRESSION 3 241#define LZO_COMPRESSION 3
242#define XZ_COMPRESSION 4 242#define XZ_COMPRESSION 4
243#define LZ4_COMPRESSION 5
243 244
244struct squashfs_super_block { 245struct squashfs_super_block {
245 __le32 s_magic; 246 __le32 s_magic;