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

Matthew Dillon dillon at crater.dragonflybsd.org
Mon Sep 28 16:14:50 PDT 2009


commit ec92fd9af78831b0fc4a381a34882b17c90b16bb
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/ec92fd9af78831b0fc4a381a34882b17c90b16bb


-- 
DragonFly BSD source repository





More information about the Commits mailing list