summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/usbdi.c
diff options
context:
space:
mode:
authorkrw <krw@openbsd.org>2013-09-03 17:48:26 +0000
committerkrw <krw@openbsd.org>2013-09-03 17:48:26 +0000
commite16000446d7bb9f8fb41ff3c46a5e87301b71925 (patch)
tree838f866cea6c00d290ca4ea757f43e75eaa76632 /sys/dev/usb/usbdi.c
parentRewrite the ARMv7 cache discovery, as some assumptions in the previous one (diff)
downloadwireguard-openbsd-e16000446d7bb9f8fb41ff3c46a5e87301b71925.tar.xz
wireguard-openbsd-e16000446d7bb9f8fb41ff3c46a5e87301b71925.zip
When a partition is changing to UNUSED, we try to save kernel-set
values for the p_fragblock and p_cpg fields. But we were saving the info for open partitions only. Instead, look at all partitions. And stop discarding the new partition type. In addition to general betterness, this lets you change the RAW_PART partition (a.k.a. 'c') to UNUSED. This problem was pointed out by Federico Giannici via misc@. ok otto@
Diffstat (limited to 'sys/dev/usb/usbdi.c')
0 files changed, 0 insertions, 0 deletions