aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosh Boyer <jwboyer@gmail.com>2007-08-03 08:34:38 -0500
committerJosh Boyer <jwboyer@gmail.com>2007-08-03 08:34:38 -0500
commitce386724bd784061896dc69ad6012768d526c3dc (patch)
tree817a884a1b1cc4010f8f7eb4410d7fe9d616caaf
parent9845d92440bd87739c89edd000fd6e0c47fab185 (diff)
Disable LZO compression by default
When the recent LZO compression support went into mtd-utils recently, it was enabled by default. This means that mkfs.jffs2 will default to creating images with lzo compression as the default. Older kernels cannot decompress such images, so lzo should be disabled by default. The patch below fixes this. To enable lzo compression from now on, simply pass '-X lzo' as an option to mkfs.jffs2. Signed-off-by: Josh Boyer <jwboyer@gmail.com>
-rw-r--r--compr_lzo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/compr_lzo.c b/compr_lzo.c
index c15fd32..fb54600 100644
--- a/compr_lzo.c
+++ b/compr_lzo.c
@@ -85,7 +85,7 @@ static struct jffs2_compressor jffs2_lzo_comp = {
.compr = JFFS2_COMPR_LZO,
.compress = &jffs2_lzo_cmpr,
.decompress = &jffs2_lzo_decompress,
- .disabled = 0,
+ .disabled = 1,
};
int jffs2_lzo_init(void)