Browse Source

fuse: add __exit to fuse_ctl_cleanup

fuse_ctl_cleanup is only called by __exit fuse_exit

Signed-off-by: Fabian Frederick <fabf@skynet.be>
Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
Fabian Frederick 11 years ago
parent
commit
7736e8cc51
2 changed files with 2 additions and 2 deletions
  1. 1 1
      fs/fuse/control.c
  2. 1 1
      fs/fuse/fuse_i.h

+ 1 - 1
fs/fuse/control.c

@@ -348,7 +348,7 @@ int __init fuse_ctl_init(void)
 	return register_filesystem(&fuse_ctl_fs_type);
 	return register_filesystem(&fuse_ctl_fs_type);
 }
 }
 
 
-void fuse_ctl_cleanup(void)
+void __exit fuse_ctl_cleanup(void)
 {
 {
 	unregister_filesystem(&fuse_ctl_fs_type);
 	unregister_filesystem(&fuse_ctl_fs_type);
 }
 }

+ 1 - 1
fs/fuse/fuse_i.h

@@ -725,7 +725,7 @@ int fuse_dev_init(void);
 void fuse_dev_cleanup(void);
 void fuse_dev_cleanup(void);
 
 
 int fuse_ctl_init(void);
 int fuse_ctl_init(void);
-void fuse_ctl_cleanup(void);
+void __exit fuse_ctl_cleanup(void);
 
 
 /**
 /**
  * Allocate a request
  * Allocate a request