mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-31 03:04:11 +03:00
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 <behlendorf1@llnl.gov> Closes #56
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user