|
@@ -40,7 +40,7 @@ static const struct squashfs_decompressor squashfs_lzma_unsupported_comp_ops = {
|
|
};
|
|
};
|
|
|
|
|
|
#ifndef CONFIG_SQUASHFS_LZO
|
|
#ifndef CONFIG_SQUASHFS_LZO
|
|
-static const struct squashfs_decompressor squashfs_lzo_unsupported_comp_ops = {
|
|
|
|
|
|
+static const struct squashfs_decompressor squashfs_lzo_comp_ops = {
|
|
NULL, NULL, NULL, LZO_COMPRESSION, "lzo", 0
|
|
NULL, NULL, NULL, LZO_COMPRESSION, "lzo", 0
|
|
};
|
|
};
|
|
#endif
|
|
#endif
|
|
@@ -57,13 +57,9 @@ static const struct squashfs_decompressor squashfs_unknown_comp_ops = {
|
|
|
|
|
|
static const struct squashfs_decompressor *decompressor[] = {
|
|
static const struct squashfs_decompressor *decompressor[] = {
|
|
&squashfs_zlib_comp_ops,
|
|
&squashfs_zlib_comp_ops,
|
|
- &squashfs_lzma_unsupported_comp_ops,
|
|
|
|
-#ifdef CONFIG_SQUASHFS_LZO
|
|
|
|
&squashfs_lzo_comp_ops,
|
|
&squashfs_lzo_comp_ops,
|
|
-#else
|
|
|
|
- &squashfs_lzo_unsupported_comp_ops,
|
|
|
|
-#endif
|
|
|
|
&squashfs_xz_comp_ops,
|
|
&squashfs_xz_comp_ops,
|
|
|
|
+ &squashfs_lzma_unsupported_comp_ops,
|
|
&squashfs_unknown_comp_ops
|
|
&squashfs_unknown_comp_ops
|
|
};
|
|
};
|
|
|
|
|