diff options
author | Brian Behlendorf <[email protected]> | 2011-11-11 09:03:31 -0800 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2011-11-11 09:18:28 -0800 |
commit | 1114ae6ae74a287478cd8a34770fc4a907f84134 (patch) | |
tree | d3752a329ba7f41f0be72ca2ff6e558b25b77fd2 /module/spl/spl-kstat.c | |
parent | 948914d2f10f6bf274bb51b96dd5337f01165b45 (diff) |
Prepend spl_ to all init/fini functions
This is a bit of cleanup I'd been meaning to get to for a while
to reduce the chance of a type conflict. Well that conflict
finally occurred with the kstat_init() function which conflicts
with a function in the 2.6.32-6-pve kernel.
Signed-off-by: Brian Behlendorf <[email protected]>
Closes #56
Diffstat (limited to 'module/spl/spl-kstat.c')
-rw-r--r-- | module/spl/spl-kstat.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/module/spl/spl-kstat.c b/module/spl/spl-kstat.c index 5be1c21fc..ee9dfdf03 100644 --- a/module/spl/spl-kstat.c +++ b/module/spl/spl-kstat.c @@ -477,7 +477,7 @@ __kstat_delete(kstat_t *ksp) EXPORT_SYMBOL(__kstat_delete); int -kstat_init(void) +spl_kstat_init(void) { SENTRY; spin_lock_init(&kstat_lock); @@ -487,7 +487,7 @@ kstat_init(void) } void -kstat_fini(void) +spl_kstat_fini(void) { SENTRY; ASSERT(list_empty(&kstat_list)); |