aboutsummaryrefslogtreecommitdiffstats
path: root/module/spl/spl-tsd.c
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2011-11-11 09:03:31 -0800
committerBrian Behlendorf <[email protected]>2011-11-11 09:18:28 -0800
commit1114ae6ae74a287478cd8a34770fc4a907f84134 (patch)
treed3752a329ba7f41f0be72ca2ff6e558b25b77fd2 /module/spl/spl-tsd.c
parent948914d2f10f6bf274bb51b96dd5337f01165b45 (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-tsd.c')
-rw-r--r--module/spl/spl-tsd.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/module/spl/spl-tsd.c b/module/spl/spl-tsd.c
index 0581e1b2e..ce5560a1e 100644
--- a/module/spl/spl-tsd.c
+++ b/module/spl/spl-tsd.c
@@ -618,7 +618,8 @@ tsd_exit(void)
}
EXPORT_SYMBOL(tsd_exit);
-int tsd_init(void)
+int
+spl_tsd_init(void)
{
SENTRY;
@@ -629,7 +630,8 @@ int tsd_init(void)
SRETURN(0);
}
-void tsd_fini(void)
+void
+spl_tsd_fini(void)
{
SENTRY;
tsd_hash_table_fini(tsd_hash_table);