aboutsummaryrefslogtreecommitdiff
path: root/fs/squashfs/squashfs_fs.h
diff options
context:
space:
mode:
authorPhillip Lougher2014-11-27 06:49:14 +0000
committerPhillip Lougher2014-11-27 07:44:11 +0000
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 {
#define LZMA_COMPRESSION 2
#define LZO_COMPRESSION 3
#define XZ_COMPRESSION 4
+#define LZ4_COMPRESSION 5
struct squashfs_super_block {
__le32 s_magic;