2014-04-23 16:14:46

by Fabian Frédérick

[permalink] [raw]
Subject: [PATCH 1/1] FS/FUSE: add __exit to fuse_ctl_cleanup

fuse_ctl_cleanup is only called by __exit fuse_exit

Cc: Miklos Szeredi <[email protected]>
Cc: [email protected]
Cc: Andrew Morton <[email protected]>
Signed-off-by: Fabian Frederick <[email protected]>
---
fs/fuse/control.c | 2 +-
fs/fuse/fuse_i.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/fs/fuse/control.c b/fs/fuse/control.c
index a0b0855..205e0d5 100644
--- a/fs/fuse/control.c
+++ b/fs/fuse/control.c
@@ -348,7 +348,7 @@ int __init fuse_ctl_init(void)
return register_filesystem(&fuse_ctl_fs_type);
}

-void fuse_ctl_cleanup(void)
+void __exit fuse_ctl_cleanup(void)
{
unregister_filesystem(&fuse_ctl_fs_type);
}
diff --git a/fs/fuse/fuse_i.h b/fs/fuse/fuse_i.h
index a257ed8e..adfa2d5 100644
--- a/fs/fuse/fuse_i.h
+++ b/fs/fuse/fuse_i.h
@@ -725,7 +725,7 @@ int fuse_dev_init(void);
void fuse_dev_cleanup(void);

int fuse_ctl_init(void);
-void fuse_ctl_cleanup(void);
+void __exit fuse_ctl_cleanup(void);

/**
* Allocate a request
--
1.9.1


2014-04-23 16:24:33

by Miklos Szeredi

[permalink] [raw]
Subject: Re: [PATCH 1/1] FS/FUSE: add __exit to fuse_ctl_cleanup

On Wed, Apr 23, 2014 at 6:14 PM, Fabian Frederick <[email protected]> wrote:
> fuse_ctl_cleanup is only called by __exit fuse_exit

Thanks, queued.

Miklos