Commit 487841ed authored by Petr Vandrovec's avatar Petr Vandrovec Committed by Linus Torvalds

[PATCH] zisofs compilation error

* zisofs_cleanup cannot be __exit, as it is invoked from __init
  section when register_filesystem() fails.

		Petr Vandrovec
parent bb72710d
......@@ -348,7 +348,7 @@ int __init zisofs_init(void)
return 0;
}
void __exit zisofs_cleanup(void)
void zisofs_cleanup(void)
{
if ( !initialized ) {
printk("zisofs_cleanup: called without initialization\n");
......
......@@ -17,5 +17,5 @@
#ifdef CONFIG_ZISOFS
extern struct address_space_operations zisofs_aops;
extern int __init zisofs_init(void);
extern void __exit zisofs_cleanup(void);
extern void zisofs_cleanup(void);
#endif
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment