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:
Darik Horn
2011-04-21 10:11:45 -05:00
committed by Brian Behlendorf
parent ad35b6a6e9
commit 5b8f76ea16
2 changed files with 7 additions and 7 deletions
+3 -3
View File
@@ -498,8 +498,8 @@ __init spl_init(void)
if ((rc = spl_kmem_init_kallsyms_lookup()))
SGOTO(out10, rc);
printk(KERN_NOTICE "SPL: Loaded Solaris Porting Layer v%s%s\n",
SPL_META_VERSION, SPL_DEBUG_STR);
printk(KERN_NOTICE "SPL: Loaded module v%s%s, using hostid 0x%08x\n",
SPL_META_VERSION, SPL_DEBUG_STR, (unsigned int) spl_hostid);
SRETURN(rc);
out10:
zlib_fini();
@@ -532,7 +532,7 @@ spl_fini(void)
{
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);
zlib_fini();
tsd_fini();