disk subsystem - Fixup dev->si_* fields for XXXs0, e.g. da0s0
authorMatthew Dillon <dillon@apollo.backplane.com>
Wed, 17 Jun 2009 21:01:47 +0000 (14:01 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Wed, 17 Jun 2009 21:01:47 +0000 (14:01 -0700)
commit5d6c6885540e8e6e870b3e6ea0a53cbe71a9c159
tree84799ee302b79f7e074ff9bdc563e3b533d647b2
parent4383d4400dfcd345a115d7994ec66540112d60b1
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.
sys/kern/subr_disk.c