aboutsummaryrefslogtreecommitdiffstats
path: root/fs/afs
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2007-05-03 06:12:46 -0400
committerDavid S. Miller <davem@davemloft.net>2007-05-03 06:12:46 -0400
commitfbb3fcba72ff52ee3d9990c9dec0c95cd9d0ce17 (patch)
tree58186fa76d0f25e489d187d0f513a26f0b447860 /fs/afs
parent80c72fe415698049a477314ac82790c1af0fa7e3 (diff)
[AFS]: Fix use of __exit functions from __init path
Fix use of __exit functions from __init path. Signed-off-by: David Howells <dhowells@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'fs/afs')
-rw-r--r--fs/afs/callback.c2
-rw-r--r--fs/afs/internal.h4
-rw-r--r--fs/afs/vlocation.c2
3 files changed, 4 insertions, 4 deletions
diff --git a/fs/afs/callback.c b/fs/afs/callback.c
index 639399f0ab6..9bdbf36a9aa 100644
--- a/fs/afs/callback.c
+++ b/fs/afs/callback.c
@@ -468,7 +468,7 @@ int __init afs_callback_update_init(void)
468/* 468/*
469 * shut down the callback update process 469 * shut down the callback update process
470 */ 470 */
471void __exit afs_callback_update_kill(void) 471void afs_callback_update_kill(void)
472{ 472{
473 destroy_workqueue(afs_callback_update_worker); 473 destroy_workqueue(afs_callback_update_worker);
474} 474}
diff --git a/fs/afs/internal.h b/fs/afs/internal.h
index 34665f7d7a1..3363e311a2f 100644
--- a/fs/afs/internal.h
+++ b/fs/afs/internal.h
@@ -392,7 +392,7 @@ extern void afs_give_up_callback(struct afs_vnode *);
392extern void afs_dispatch_give_up_callbacks(struct work_struct *); 392extern void afs_dispatch_give_up_callbacks(struct work_struct *);
393extern void afs_flush_callback_breaks(struct afs_server *); 393extern void afs_flush_callback_breaks(struct afs_server *);
394extern int __init afs_callback_update_init(void); 394extern int __init afs_callback_update_init(void);
395extern void __exit afs_callback_update_kill(void); 395extern void afs_callback_update_kill(void);
396 396
397/* 397/*
398 * cell.c 398 * cell.c
@@ -591,7 +591,7 @@ extern struct afs_vlocation *afs_vlocation_lookup(struct afs_cell *,
591 struct key *, 591 struct key *,
592 const char *, size_t); 592 const char *, size_t);
593extern void afs_put_vlocation(struct afs_vlocation *); 593extern void afs_put_vlocation(struct afs_vlocation *);
594extern void __exit afs_vlocation_purge(void); 594extern void afs_vlocation_purge(void);
595 595
596/* 596/*
597 * vnode.c 597 * vnode.c
diff --git a/fs/afs/vlocation.c b/fs/afs/vlocation.c
index 6c8e95a7c2c..3370cdb7256 100644
--- a/fs/afs/vlocation.c
+++ b/fs/afs/vlocation.c
@@ -602,7 +602,7 @@ int __init afs_vlocation_update_init(void)
602/* 602/*
603 * discard all the volume location records for rmmod 603 * discard all the volume location records for rmmod
604 */ 604 */
605void __exit afs_vlocation_purge(void) 605void afs_vlocation_purge(void)
606{ 606{
607 afs_vlocation_timeout = 0; 607 afs_vlocation_timeout = 0;
608 608