aboutsummaryrefslogtreecommitdiffstats
path: root/fs/jffs2/compr.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/jffs2/compr.c')
-rw-r--r--fs/jffs2/compr.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/fs/jffs2/compr.c b/fs/jffs2/compr.c
index d90ca05e4992..bcc28d266a12 100644
--- a/fs/jffs2/compr.c
+++ b/fs/jffs2/compr.c
@@ -286,6 +286,9 @@ int __init jffs2_compressors_init(void)
286 jffs2_rubinmips_init(); 286 jffs2_rubinmips_init();
287 jffs2_dynrubin_init(); 287 jffs2_dynrubin_init();
288#endif 288#endif
289#ifdef CONFIG_JFFS2_LZO
290 jffs2_lzo_init();
291#endif
289/* Setting default compression mode */ 292/* Setting default compression mode */
290#ifdef CONFIG_JFFS2_CMODE_NONE 293#ifdef CONFIG_JFFS2_CMODE_NONE
291 jffs2_compression_mode = JFFS2_COMPR_MODE_NONE; 294 jffs2_compression_mode = JFFS2_COMPR_MODE_NONE;
@@ -304,6 +307,9 @@ int __init jffs2_compressors_init(void)
304int jffs2_compressors_exit(void) 307int jffs2_compressors_exit(void)
305{ 308{
306/* Unregistering compressors */ 309/* Unregistering compressors */
310#ifdef CONFIG_JFFS2_LZO
311 jffs2_lzo_exit();
312#endif
307#ifdef CONFIG_JFFS2_RUBIN 313#ifdef CONFIG_JFFS2_RUBIN
308 jffs2_dynrubin_exit(); 314 jffs2_dynrubin_exit();
309 jffs2_rubinmips_exit(); 315 jffs2_rubinmips_exit();