jffs2: add compr=lzo and compr=zlib options
authorAndres Salomon <dilinger@queued.net>
Mon, 17 Oct 2011 01:15:23 +0000 (18:15 -0700)
committerArtem Bityutskiy <artem.bityutskiy@intel.com>
Wed, 19 Oct 2011 14:22:21 +0000 (17:22 +0300)
commit123005f3ccfa58637ad6e1a8b9f7f3f861ca65f4
treea9bd8a539d9c950f47514a5f94f65c25c09e3b6c
parent92abc475d8de1c29373f6d96ed63d8ecaa199d25
jffs2: add compr=lzo and compr=zlib options

..to allow forcing of either compression scheme.  This will override
compiled-in defaults.  jffs2_compress is reworked a bit, as the lzo/zlib
override shares lots of code w/ the PRIORITY mode.

v2: update show_options accordingly.

Signed-off-by: Andres Salomon <dilinger@queued.net>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@intel.com>
fs/jffs2/compr.c
fs/jffs2/compr.h
fs/jffs2/super.c