diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2012-07-11 13:24:30 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2012-07-11 13:24:30 +0000 |
commit | a6b598222b0526906743ba353219a8c48ff4d382 (patch) | |
tree | 45d34e09120294558f9d81cdd2e775341985f42f /sys/arch/sh/include/cache.h | |
parent | 5a463407f5cb3214ba6fdc821a5aeda3b975ca88 (diff) |
MBR can't handle the truth.
When reading disk size/geometry from disklabel, clamp disk size to
the maximum number of cylinders that fit into UINT32_MAX sectors.
Don't just use the bottom 32 bits of the DL_GETDSIZE(). Warn that
truncation has been done.
Diffstat (limited to 'sys/arch/sh/include/cache.h')
0 files changed, 0 insertions, 0 deletions