Kernel - Disk - do not bother trying to read the MBR if media_size is 0
commit5bd0c8a5e587b7fa0f5d6c9d67c8e10ea41634fe
authorMatthew Dillon <dillon@apollo.backplane.com>
Tue, 1 Sep 2009 18:18:57 +0000 (1 11:18 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Tue, 1 Sep 2009 18:18:57 +0000 (1 11:18 -0700)
tree565839a035eeb4945fe5db7572162c6ec5129429
parentda311c9d7820b59f379fca7701c151cd1b7becea
Kernel - Disk - do not bother trying to read the MBR if media_size is 0

* Do not bother trying to read the MBR if media_size is 0, typically
  indicating removable media with no media present.
sys/kern/subr_diskmbr.c