Revert to pre-r1.249 more laissez-faire checks for valid MBR
authorkrw <krw@openbsd.org>
Fri, 12 Aug 2022 20:05:49 +0000 (20:05 +0000)
committerkrw <krw@openbsd.org>
Fri, 12 Aug 2022 20:05:49 +0000 (20:05 +0000)
commit8e434e93737cb25921e442bcb5f2ae7ba3e6166e
tree1bae03ff93297c18639112f1022dcfb5838f2fe9
parentf46ffae94be21408e0f595a56a8480f9a9314303
Revert to pre-r1.249 more laissez-faire checks for valid MBR
partitions.

miod@ (re)discovered an off-by-one in some device size
calculations. Whether the ancient misbehaviour of some devices to
confuse number of sectors with highest valid sector address or
something newer.

Should fix miod@'s octeon boot disk.
sys/kern/subr_disk.c