]> git.proxmox.com Git - mirror_zfs.git/commit
Add zone_get_hostid() function
authorBrian Behlendorf <behlendorf1@llnl.gov>
Thu, 19 Feb 2009 19:26:17 +0000 (11:26 -0800)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Thu, 19 Feb 2009 19:26:17 +0000 (11:26 -0800)
commit99639e4a13306c3809b52e487d4343d756fad2e2
tree0baaa1c24c08ee7b51c24dd62d48427b439fd498
parent63a93055fb6cfddebe31c791f7df86b14942ca9d
Add zone_get_hostid() function

Minimal support added for the zone_get_hostid() function.  Only
global zones are supported therefore this function must be called
with a NULL argumment.  Additionally, I've added the HW_HOSTID_LEN
define and updated all instances where a hard coded magic value
of 11 was used; "A good riddance of bad rubbish!"
include/sys/proc.h
include/sys/sysmacros.h
include/sys/systeminfo.h
module/spl/spl-generic.c
module/spl/spl-proc.c