Skip to content

Commit 7736e8c

Browse files
Fabian FrederickMiklos Szeredi
authored andcommitted
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>
1 parent d1db0ee commit 7736e8c

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎fs/fuse/control.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@ int __init fuse_ctl_init(void)
348348
return register_filesystem(&fuse_ctl_fs_type);
349349
}
350350

351-
void fuse_ctl_cleanup(void)
351+
void __exit fuse_ctl_cleanup(void)
352352
{
353353
unregister_filesystem(&fuse_ctl_fs_type);
354354
}

‎fs/fuse/fuse_i.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -725,7 +725,7 @@ int fuse_dev_init(void);
725725
void fuse_dev_cleanup(void);
726726

727727
int fuse_ctl_init(void);
728-
void fuse_ctl_cleanup(void);
728+
void __exit fuse_ctl_cleanup(void);
729729

730730
/**
731731
* Allocate a request

0 commit comments

Comments
 (0)