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: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
This commit is contained in:
parent
2ba5f7ae81
commit
995be04548
|
@ -244,7 +244,7 @@ out_lzo:
|
|||
/**
|
||||
* ubifs_compressors_exit - de-initialize UBIFS compressors.
|
||||
*/
|
||||
void __exit ubifs_compressors_exit(void)
|
||||
void ubifs_compressors_exit(void)
|
||||
{
|
||||
compr_exit(&lzo_compr);
|
||||
compr_exit(&zlib_compr);
|
||||
|
|
|
@ -1700,7 +1700,7 @@ long ubifs_compat_ioctl(struct file *file, unsigned int cmd, unsigned long arg);
|
|||
|
||||
/* compressor.c */
|
||||
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,
|
||||
int *compr_type);
|
||||
int ubifs_decompress(const void *buf, int len, void *out, int *out_len,
|
||||
|
|
Loading…
Reference in New Issue