summary refs log tree commit diff
path: root/fs/jffs2/compr.h
diff options
context:
space:
mode:
Diffstat (limited to 'fs/jffs2/compr.h')
-rw-r--r--fs/jffs2/compr.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/jffs2/compr.h b/fs/jffs2/compr.h
index a54828a4e9c6..e1b7efb70aa4 100644
--- a/fs/jffs2/compr.h
+++ b/fs/jffs2/compr.h
@@ -38,6 +38,9 @@
 #define JFFS2_COMPR_MODE_NONE       0
 #define JFFS2_COMPR_MODE_PRIORITY   1
 #define JFFS2_COMPR_MODE_SIZE       2
+#define JFFS2_COMPR_MODE_FAVOURLZO  3
+
+#define FAVOUR_LZO_PERCENT 80
 
 struct jffs2_compressor {
 	struct list_head list;