mirror of https://github.com/OpenIPC/firmware.git
				
				
				
			
		
			
				
	
	
		
			23 lines
		
	
	
		
			587 B
		
	
	
	
		
			Diff
		
	
	
			
		
		
	
	
			23 lines
		
	
	
		
			587 B
		
	
	
	
		
			Diff
		
	
	
| --- linux-4.9.37/fs/jffs2/compr.c	2017-07-12 16:42:41.000000000 +0300
 | |
| +++ linux-4.9.y/fs/jffs2/compr.c	2021-06-07 13:01:34.000000000 +0300
 | |
| @@ -378,6 +378,9 @@
 | |
|  #ifdef CONFIG_JFFS2_LZO
 | |
|  	jffs2_lzo_init();
 | |
|  #endif
 | |
| +#ifdef CONFIG_JFFS2_LZMA
 | |
| +	jffs2_lzma_init();
 | |
| +#endif
 | |
|  /* Setting default compression mode */
 | |
|  #ifdef CONFIG_JFFS2_CMODE_NONE
 | |
|  	jffs2_compression_mode = JFFS2_COMPR_MODE_NONE;
 | |
| @@ -401,6 +404,9 @@
 | |
|  int jffs2_compressors_exit(void)
 | |
|  {
 | |
|  /* Unregistering compressors */
 | |
| +#ifdef CONFIG_JFFS2_LZMA
 | |
| +	jffs2_lzma_exit();
 | |
| +#endif
 | |
|  #ifdef CONFIG_JFFS2_LZO
 | |
|  	jffs2_lzo_exit();
 | |
|  #endif
 |