From 1114ae6ae74a287478cd8a34770fc4a907f84134 Mon Sep 17 00:00:00 2001 From: Brian Behlendorf Date: Fri, 11 Nov 2011 09:03:31 -0800 Subject: 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 Closes #56 --- module/spl/spl-tsd.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'module/spl/spl-tsd.c') 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); -- cgit v1.2.3