next-2008-12-04: ubifs section fixlet

From: Alexey Dobriyan
Date: Thu Dec 04 2008 - 09:00:43 EST

Please, fold into 552ff3179d1e93a3e982357544c059f3e9a5516e
aka "UBIFS: add debugfs support":

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()

--- 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)
diff --git a/fs/ubifs/ubifs.h b/fs/ubifs/ubifs.h
index e658b06..055c6b5 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,
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at