diff options
author | thompsa <thompsa@FreeBSD.org> | 2009-11-02 23:30:15 +0000 |
---|---|---|
committer | thompsa <thompsa@FreeBSD.org> | 2009-11-02 23:30:15 +0000 |
commit | 8bc2cf3863431c214eda6bec7dab1f676d348f0b (patch) | |
tree | 85d3916856bb6bf47d951126f5307001ba41347f /usr.sbin | |
parent | 2b4e180195840f8f7f0d928c372ca7e02779cdf5 (diff) | |
download | FreeBSD-src-8bc2cf3863431c214eda6bec7dab1f676d348f0b.zip FreeBSD-src-8bc2cf3863431c214eda6bec7dab1f676d348f0b.tar.gz |
Provide the same sanity check on the sector size in dagetcapacity as when the
disk is first probed. dagetcapacity is called whenever the disk is opened from
geom via d_open(), a zero sector size will cause geom to panic later on.
Diffstat (limited to 'usr.sbin')
0 files changed, 0 insertions, 0 deletions