diff options
author | Richard Purdie <rpurdie@openedhand.com> | 2007-07-10 11:28:36 +0200 |
---|---|---|
committer | David Woodhouse <dwmw2@infradead.org> | 2007-07-11 16:03:53 +0200 |
commit | c799aca31bfe61ba3a91133acf5a13a0773087d4 (patch) | |
tree | d05f44fbec08e26fd52b8b1f4c7b5d162cfe3c31 /fs/jffs2/compr.h | |
parent | [MTD] Add sync/unblank function to mtdoops (diff) | |
download | linux-c799aca31bfe61ba3a91133acf5a13a0773087d4.tar.xz linux-c799aca31bfe61ba3a91133acf5a13a0773087d4.zip |
[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.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/jffs2/compr.h b/fs/jffs2/compr.h index 1070275da58f..a54828a4e9c6 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 */ |