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-zlib.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-zlib.c')
-rw-r--r-- | module/spl/spl-zlib.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/module/spl/spl-zlib.c b/module/spl/spl-zlib.c index c42562f81..7bed00ca4 100644 --- a/module/spl/spl-zlib.c +++ b/module/spl/spl-zlib.c @@ -196,7 +196,8 @@ z_uncompress(void *dest, size_t *destLen, const void *source, size_t sourceLen) } EXPORT_SYMBOL(z_uncompress); -int zlib_init(void) +int +spl_zlib_init(void) { int size; SENTRY; @@ -212,7 +213,8 @@ int zlib_init(void) SRETURN(0); } -void zlib_fini(void) +void +spl_zlib_fini(void) { SENTRY; kmem_cache_destroy(zlib_workspace_cache); |