DragonFly-2.3.1.298.g5d6c6 master sys/kern subr_disk.c

Matthew Dillon dillon at crater.dragonflybsd.org
Wed Jun 17 14:57:34 PDT 2009


commit 5d6c6885540e8e6e870b3e6ea0a53cbe71a9c159
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Wed Jun 17 14:01:47 2009 -0700

    disk subsystem - Fixup dev->si_* fields for XXXs0, e.g. da0s0
    
    The si_* fields for rawdev are not set until after the disk_create()
    call, so someone using the cooked version of the raw device (i.e. da0s0)
    will not get the right si_iosize_max unless we fix it up here.

Summary of changes:
 sys/kern/subr_disk.c |   13 +++++++++++++
 1 files changed, 13 insertions(+), 0 deletions(-)

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


-- 
DragonFly BSD source repository





More information about the Commits mailing list