提交 995be045 编写于 作者: A Alexey Dobriyan 提交者: Artem Bityutskiy

UBIFS: fix section mismatch

This patch fixes the following section mismatch:

WARNING: fs/ubifs/ubifs.o(.init.text+0xec): Section mismatch in reference from the function init_module() to the function .exit.text:ubifs_compressors_exit()
Signed-off-by: NArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
上级 2ba5f7ae
...@@ -244,7 +244,7 @@ int __init ubifs_compressors_init(void) ...@@ -244,7 +244,7 @@ int __init ubifs_compressors_init(void)
/** /**
* ubifs_compressors_exit - de-initialize UBIFS compressors. * ubifs_compressors_exit - de-initialize UBIFS compressors.
*/ */
void __exit ubifs_compressors_exit(void) void ubifs_compressors_exit(void)
{ {
compr_exit(&lzo_compr); compr_exit(&lzo_compr);
compr_exit(&zlib_compr); compr_exit(&zlib_compr);
......
...@@ -1700,7 +1700,7 @@ long ubifs_compat_ioctl(struct file *file, unsigned int cmd, unsigned long arg); ...@@ -1700,7 +1700,7 @@ long ubifs_compat_ioctl(struct file *file, unsigned int cmd, unsigned long arg);
/* compressor.c */ /* compressor.c */
int __init ubifs_compressors_init(void); int __init ubifs_compressors_init(void);
void __exit ubifs_compressors_exit(void); void ubifs_compressors_exit(void);
void ubifs_compress(const void *in_buf, int in_len, void *out_buf, int *out_len, void ubifs_compress(const void *in_buf, int in_len, void *out_buf, int *out_len,
int *compr_type); int *compr_type);
int ubifs_decompress(const void *buf, int len, void *out, int *out_len, int ubifs_decompress(const void *buf, int len, void *out, int *out_len,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册