mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2025-04-06 17:49:11 +03:00
Make the SPL kernel messages consistent with ZFS.
Change the SPL kernel messages for module loading and module unloading so that they are similar to the ZFS kernel messages. Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
This commit is contained in:
parent
ad35b6a6e9
commit
5b8f76ea16
@ -498,8 +498,8 @@ __init spl_init(void)
|
|||||||
if ((rc = spl_kmem_init_kallsyms_lookup()))
|
if ((rc = spl_kmem_init_kallsyms_lookup()))
|
||||||
SGOTO(out10, rc);
|
SGOTO(out10, rc);
|
||||||
|
|
||||||
printk(KERN_NOTICE "SPL: Loaded Solaris Porting Layer v%s%s\n",
|
printk(KERN_NOTICE "SPL: Loaded module v%s%s, using hostid 0x%08x\n",
|
||||||
SPL_META_VERSION, SPL_DEBUG_STR);
|
SPL_META_VERSION, SPL_DEBUG_STR, (unsigned int) spl_hostid);
|
||||||
SRETURN(rc);
|
SRETURN(rc);
|
||||||
out10:
|
out10:
|
||||||
zlib_fini();
|
zlib_fini();
|
||||||
@ -532,7 +532,7 @@ spl_fini(void)
|
|||||||
{
|
{
|
||||||
SENTRY;
|
SENTRY;
|
||||||
|
|
||||||
printk(KERN_NOTICE "SPL: Unloaded Solaris Porting Layer v%s%s\n",
|
printk(KERN_NOTICE "SPL: Unloaded module v%s%s\n",
|
||||||
SPL_META_VERSION, SPL_DEBUG_STR);
|
SPL_META_VERSION, SPL_DEBUG_STR);
|
||||||
zlib_fini();
|
zlib_fini();
|
||||||
tsd_fini();
|
tsd_fini();
|
||||||
|
@ -663,8 +663,8 @@ splat_init(void)
|
|||||||
MKDEV(SPLAT_MAJOR, 0),
|
MKDEV(SPLAT_MAJOR, 0),
|
||||||
NULL, SPLAT_NAME);
|
NULL, SPLAT_NAME);
|
||||||
|
|
||||||
printk(KERN_INFO "SPLAT: Loaded Solaris Porting LAyer "
|
printk(KERN_INFO "SPLAT: Loaded module v%s%s\n",
|
||||||
"Tests v%s\n", SPL_META_VERSION);
|
SPL_META_VERSION, SPL_DEBUG_STR);
|
||||||
return 0;
|
return 0;
|
||||||
error:
|
error:
|
||||||
printk(KERN_ERR "SPLAT: Error registering splat device, %d\n", rc);
|
printk(KERN_ERR "SPLAT: Error registering splat device, %d\n", rc);
|
||||||
@ -698,8 +698,8 @@ splat_fini(void)
|
|||||||
SPLAT_SUBSYSTEM_FINI(kmem);
|
SPLAT_SUBSYSTEM_FINI(kmem);
|
||||||
|
|
||||||
ASSERT(list_empty(&splat_module_list));
|
ASSERT(list_empty(&splat_module_list));
|
||||||
printk(KERN_INFO "SPLAT: Unloaded Solaris Porting LAyer "
|
printk(KERN_INFO "SPLAT: Unloaded module v%s%s\n",
|
||||||
"Tests v%s\n", SPL_META_VERSION);
|
SPL_META_VERSION, SPL_DEBUG_STR);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user