mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2025-01-14 12:10:26 +03:00
Add ZFS_META_RELEASE to module load/unload messages
Include the ZFS_META_RELEASE in the module load/unload messages to more clearly indidcate exactly what version of ZFS has been loaded. Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
This commit is contained in:
parent
9ed86e7cc7
commit
4b5d425f14
@ -4999,9 +4999,9 @@ _init(void)
|
|||||||
tsd_create(&zfs_fsyncer_key, NULL);
|
tsd_create(&zfs_fsyncer_key, NULL);
|
||||||
tsd_create(&rrw_tsd_key, NULL);
|
tsd_create(&rrw_tsd_key, NULL);
|
||||||
|
|
||||||
printk(KERN_NOTICE "ZFS: Loaded module v%s%s, "
|
printk(KERN_NOTICE "ZFS: Loaded module v%s-%s%s, "
|
||||||
"ZFS pool version %s, ZFS filesystem version %s\n",
|
"ZFS pool version %s, ZFS filesystem version %s\n",
|
||||||
ZFS_META_VERSION, ZFS_DEBUG_STR,
|
ZFS_META_VERSION, ZFS_META_RELEASE, ZFS_DEBUG_STR,
|
||||||
SPA_VERSION_STRING, ZPL_VERSION_STRING);
|
SPA_VERSION_STRING, ZPL_VERSION_STRING);
|
||||||
|
|
||||||
return (0);
|
return (0);
|
||||||
@ -5011,8 +5011,9 @@ out2:
|
|||||||
out1:
|
out1:
|
||||||
zfs_fini();
|
zfs_fini();
|
||||||
spa_fini();
|
spa_fini();
|
||||||
printk(KERN_NOTICE "ZFS: Failed to Load ZFS Filesystem v%s%s"
|
printk(KERN_NOTICE "ZFS: Failed to Load ZFS Filesystem v%s-%s%s"
|
||||||
", rc = %d\n", ZFS_META_VERSION, ZFS_DEBUG_STR, error);
|
", rc = %d\n", ZFS_META_VERSION, ZFS_META_RELEASE,
|
||||||
|
ZFS_DEBUG_STR, error);
|
||||||
|
|
||||||
return (error);
|
return (error);
|
||||||
}
|
}
|
||||||
@ -5028,8 +5029,8 @@ _fini(void)
|
|||||||
tsd_destroy(&zfs_fsyncer_key);
|
tsd_destroy(&zfs_fsyncer_key);
|
||||||
tsd_destroy(&rrw_tsd_key);
|
tsd_destroy(&rrw_tsd_key);
|
||||||
|
|
||||||
printk(KERN_NOTICE "ZFS: Unloaded module v%s%s\n",
|
printk(KERN_NOTICE "ZFS: Unloaded module v%s-%s%s\n",
|
||||||
ZFS_META_VERSION, ZFS_DEBUG_STR);
|
ZFS_META_VERSION, ZFS_META_RELEASE, ZFS_DEBUG_STR);
|
||||||
|
|
||||||
return (0);
|
return (0);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user