git: Kernel - Disk - do not bother trying to read the MBR if media_size is 0

Matthew Dillon dillon at crater.dragonflybsd.org
Tue Sep 1 11:23:27 PDT 2009


commit 5bd0c8a5e587b7fa0f5d6c9d67c8e10ea41634fe
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Tue Sep 1 11:18:57 2009 -0700

    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.

Summary of changes:
 sys/kern/subr_diskmbr.c |   11 ++++++++++-
 1 files changed, 10 insertions(+), 1 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/5bd0c8a5e587b7fa0f5d6c9d67c8e10ea41634fe


-- 
DragonFly BSD source repository





More information about the Commits mailing list