summaryrefslogtreecommitdiffstats
path: root/include
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 /include
parent8691a729a2a3d739ee40a577053157393450aabd (diff)
downloadblackbird-op-linux-c799aca31bfe61ba3a91133acf5a13a0773087d4.tar.gz
blackbird-op-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 'include')
-rw-r--r--include/linux/jffs2.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/jffs2.h b/include/linux/jffs2.h
index 840631fa5ff1..6b563cae23df 100644
--- a/include/linux/jffs2.h
+++ b/include/linux/jffs2.h
@@ -46,6 +46,7 @@
#define JFFS2_COMPR_COPY 0x04
#define JFFS2_COMPR_DYNRUBIN 0x05
#define JFFS2_COMPR_ZLIB 0x06
+#define JFFS2_COMPR_LZO 0x07
/* Compatibility flags. */
#define JFFS2_COMPAT_MASK 0xc000 /* What do to if an unknown nodetype is found */
#define JFFS2_NODE_ACCURATE 0x2000
OpenPOWER on IntegriCloud