aboutsummaryrefslogtreecommitdiff
path: root/fs/jffs2/compr.h
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@openedhand.com>2007-07-10 10:28:36 +0100
committerDavid Woodhouse <dwmw2@infradead.org>2007-07-11 15:03:53 +0100
commitc799aca31bfe61ba3a91133acf5a13a0773087d4 (patch)
treed05f44fbec08e26fd52b8b1f4c7b5d162cfe3c31 /fs/jffs2/compr.h
parent8691a729a2a3d739ee40a577053157393450aabd (diff)
[JFFS2] Add LZO compression support.
Add LZO1X compression/decompression support to jffs2. LZO's interface doesn't entirely match that required by jffs2 so a buffer and memcpy is unavoidable. Signed-off-by: Richard Purdie <rpurdie@openedhand.com> Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Diffstat (limited to 'fs/jffs2/compr.h')
-rw-r--r--fs/jffs2/compr.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/jffs2/compr.h b/fs/jffs2/compr.h
index 1070275da58..a54828a4e9c 100644
--- a/fs/jffs2/compr.h
+++ b/fs/jffs2/compr.h
@@ -27,9 +27,10 @@
#define JFFS2_RUBINMIPS_PRIORITY 10
#define JFFS2_DYNRUBIN_PRIORITY 20
#define JFFS2_LZARI_PRIORITY 30
-#define JFFS2_LZO_PRIORITY 40
#define JFFS2_RTIME_PRIORITY 50
#define JFFS2_ZLIB_PRIORITY 60
+#define JFFS2_LZO_PRIORITY 80
+
#define JFFS2_RUBINMIPS_DISABLED /* RUBINs will be used only */
#define JFFS2_DYNRUBIN_DISABLED /* for decompression */