summaryrefslogtreecommitdiffstats
path: root/sys/dev/vnd.c
diff options
context:
space:
mode:
authorkrw <krw@openbsd.org>2011-06-02 17:00:24 +0000
committerkrw <krw@openbsd.org>2011-06-02 17:00:24 +0000
commit6b38f2f9c7b1623a67c10e87633b574384f29fb2 (patch)
tree745defbfd309518470d8a4ab3e6f738329e88cb9 /sys/dev/vnd.c
parentdon't exit from the main loop if there are pending time outs. (diff)
downloadwireguard-openbsd-6b38f2f9c7b1623a67c10e87633b574384f29fb2.tar.xz
wireguard-openbsd-6b38f2f9c7b1623a67c10e87633b574384f29fb2.zip
Hack to ensure that the in-core labels contain the current bounds
info from the physical disk after 'disklabel -e' writes the label to disk. Saves having to reboot or do other contortions to initialize these fields. Toss in same treatment for total sectors so all fields forcibly set by kernel have current values. 0'ing of the bounds noted by matthew@. 'lovely' deraadt@
Diffstat (limited to 'sys/dev/vnd.c')
0 files changed, 0 insertions, 0 deletions