Commit fbb3fcba authored by David Howells's avatar David Howells Committed by David S. Miller

[AFS]: Fix use of __exit functions from __init path

Fix use of __exit functions from __init path.
Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 80c72fe4
...@@ -468,7 +468,7 @@ int __init afs_callback_update_init(void) ...@@ -468,7 +468,7 @@ int __init afs_callback_update_init(void)
/* /*
* shut down the callback update process * shut down the callback update process
*/ */
void __exit afs_callback_update_kill(void) void afs_callback_update_kill(void)
{ {
destroy_workqueue(afs_callback_update_worker); destroy_workqueue(afs_callback_update_worker);
} }
...@@ -392,7 +392,7 @@ extern void afs_give_up_callback(struct afs_vnode *); ...@@ -392,7 +392,7 @@ extern void afs_give_up_callback(struct afs_vnode *);
extern void afs_dispatch_give_up_callbacks(struct work_struct *); extern void afs_dispatch_give_up_callbacks(struct work_struct *);
extern void afs_flush_callback_breaks(struct afs_server *); extern void afs_flush_callback_breaks(struct afs_server *);
extern int __init afs_callback_update_init(void); extern int __init afs_callback_update_init(void);
extern void __exit afs_callback_update_kill(void); extern void afs_callback_update_kill(void);
/* /*
* cell.c * cell.c
...@@ -591,7 +591,7 @@ extern struct afs_vlocation *afs_vlocation_lookup(struct afs_cell *, ...@@ -591,7 +591,7 @@ extern struct afs_vlocation *afs_vlocation_lookup(struct afs_cell *,
struct key *, struct key *,
const char *, size_t); const char *, size_t);
extern void afs_put_vlocation(struct afs_vlocation *); extern void afs_put_vlocation(struct afs_vlocation *);
extern void __exit afs_vlocation_purge(void); extern void afs_vlocation_purge(void);
/* /*
* vnode.c * vnode.c
......
...@@ -602,7 +602,7 @@ int __init afs_vlocation_update_init(void) ...@@ -602,7 +602,7 @@ int __init afs_vlocation_update_init(void)
/* /*
* discard all the volume location records for rmmod * discard all the volume location records for rmmod
*/ */
void __exit afs_vlocation_purge(void) void afs_vlocation_purge(void)
{ {
afs_vlocation_timeout = 0; afs_vlocation_timeout = 0;
......
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