aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexey Dobriyan <adobriyan@gmail.com>2008-12-04 09:04:18 -0500
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2008-12-04 10:53:10 -0500
commit995be04548f62c8e6b447410cd28b0666614b461 (patch)
treefbabfbcc9bd11813d0d5bebd99cdc52dff37a909
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>
-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 4afb3ea24d44..4c90ee2aef46 100644
--- a/fs/ubifs/compress.c
+++ b/fs/ubifs/compress.c
@@ -244,7 +244,7 @@ out_lzo:
244/** 244/**
245 * ubifs_compressors_exit - de-initialize UBIFS compressors. 245 * ubifs_compressors_exit - de-initialize UBIFS compressors.
246 */ 246 */
247void __exit ubifs_compressors_exit(void) 247void ubifs_compressors_exit(void)
248{ 248{
249 compr_exit(&lzo_compr); 249 compr_exit(&lzo_compr);
250 compr_exit(&zlib_compr); 250 compr_exit(&zlib_compr);
diff --git a/fs/ubifs/ubifs.h b/fs/ubifs/ubifs.h
index e658b06fd451..055c6b52d2f6 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);
1700 1700
1701/* compressor.c */ 1701/* compressor.c */
1702int __init ubifs_compressors_init(void); 1702int __init ubifs_compressors_init(void);
1703void __exit ubifs_compressors_exit(void); 1703void ubifs_compressors_exit(void);
1704void ubifs_compress(const void *in_buf, int in_len, void *out_buf, int *out_len, 1704void ubifs_compress(const void *in_buf, int in_len, void *out_buf, int *out_len,
1705 int *compr_type); 1705 int *compr_type);
1706int ubifs_decompress(const void *buf, int len, void *out, int *out_len, 1706int ubifs_decompress(const void *buf, int len, void *out, int *out_len,