aboutsummaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorAlexey Dobriyan <adobriyan@gmail.com>2008-12-04 17:04:18 +0300
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2008-12-04 17:53:10 +0200
commit995be04548f62c8e6b447410cd28b0666614b461 (patch)
treefbabfbcc9bd11813d0d5bebd99cdc52dff37a909 /fs
parent2ba5f7ae8165b3f575dd3a7d8bb18f421fab8273 (diff)
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>
Diffstat (limited to 'fs')
-rw-r--r--fs/ubifs/compress.c2
-rw-r--r--fs/ubifs/ubifs.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/fs/ubifs/compress.c b/fs/ubifs/compress.c
index 4afb3ea24d4..4c90ee2aef4 100644
--- a/fs/ubifs/compress.c
+++ b/fs/ubifs/compress.c
@@ -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);
diff --git a/fs/ubifs/ubifs.h b/fs/ubifs/ubifs.h
index e658b06fd45..055c6b52d2f 100644
--- a/fs/ubifs/ubifs.h
+++ b/fs/ubifs/ubifs.h
@@ -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,