Merge commit 'refs/top-bases/linux-have-uio-rw' into linux-have-uio-rw
This commit is contained in:
commit
91f6492ef5
|
@ -3181,13 +3181,26 @@ _fini(void)
|
|||
}
|
||||
|
||||
#ifdef HAVE_SPL
|
||||
int
|
||||
__init(void)
|
||||
{
|
||||
int rc;
|
||||
|
||||
rc = _init();
|
||||
if (!rc)
|
||||
printk(KERN_INFO "ZFS: Loaded v%s\n", VERSION);
|
||||
|
||||
return rc;
|
||||
}
|
||||
|
||||
void
|
||||
__fini(void)
|
||||
{
|
||||
_fini();
|
||||
(void)_fini();
|
||||
printk(KERN_INFO "ZFS: Unloaded v%s\n", VERSION);
|
||||
}
|
||||
|
||||
module_init(_init);
|
||||
module_init(__init);
|
||||
module_exit(__fini);
|
||||
|
||||
MODULE_AUTHOR("Sun Microsystems, Inc");
|
||||
|
|
Loading…
Reference in New Issue