diff options
author | Phillip Lougher <phillip@lougher.demon.co.uk> | 2009-10-13 22:58:11 -0400 |
---|---|---|
committer | Phillip Lougher <phillip@lougher.demon.co.uk> | 2010-01-20 16:47:48 -0500 |
commit | dc3256782f88602953676c447b243dedb1be99ad (patch) | |
tree | db94f1e5aa06f8260631a5a21bea332c1b6e14c8 /fs/squashfs/squashfs_fs.h | |
parent | 4c0f0bb2351bee3de8dd7715ee199454a59f1230 (diff) |
Squashfs: add decompressor entries for lzma and lzo
Add knowledge of lzma/lzo compression formats to the decompressor
framework. For now these are added as unsupported. Without
these entries lzma/lzo compressed filesystems will be flagged as
having unknown compression which is undesirable.
Signed-off-by: Phillip Lougher <phillip@lougher.demon.co.uk>
Diffstat (limited to 'fs/squashfs/squashfs_fs.h')
-rw-r--r-- | fs/squashfs/squashfs_fs.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/fs/squashfs/squashfs_fs.h b/fs/squashfs/squashfs_fs.h index 283daafc568e..36e1604ab1c1 100644 --- a/fs/squashfs/squashfs_fs.h +++ b/fs/squashfs/squashfs_fs.h | |||
@@ -211,7 +211,9 @@ struct meta_index { | |||
211 | /* | 211 | /* |
212 | * definitions for structures on disk | 212 | * definitions for structures on disk |
213 | */ | 213 | */ |
214 | #define ZLIB_COMPRESSION 1 | 214 | #define ZLIB_COMPRESSION 1 |
215 | #define LZMA_COMPRESSION 2 | ||
216 | #define LZO_COMPRESSION 3 | ||
215 | 217 | ||
216 | struct squashfs_super_block { | 218 | struct squashfs_super_block { |
217 | __le32 s_magic; | 219 | __le32 s_magic; |