git: md - when setdiskinfo, also set no of blocks

Alex Hornung alexh at crater.dragonflybsd.org
Sun Sep 20 13:09:23 PDT 2009


commit d34ac8d012ca65a25351f4be0c12b31d9d0d3447
Author: Alex Hornung <ahornung at gmail.com>
Date:   Sun Sep 20 20:52:44 2009 +0100

    md - when setdiskinfo, also set no of blocks
    
    * Before calling disk_setdiskinfo, make sure that the number of blocks
      is also set or no probing will be triggered at that point.
    
    * Also disable setdiskinfo on open, as it shouldn't be needed.
    
    * Fix nomenclature md0c -> md0s0.
    
    * This also fixes root mount from md disk image.
    
    Reported By: Alexander Polakov
    Dragonfly-bug: http://bugs.dragonflybsd.org/issue1522

Summary of changes:
 sys/dev/disk/md/md.c |   16 +++++++++-------
 1 files changed, 9 insertions(+), 7 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/d34ac8d012ca65a25351f4be0c12b31d9d0d3447


-- 
DragonFly BSD source repository





More information about the Commits mailing list