diff options
| author | Poul-Henning Kamp <phk@FreeBSD.org> | 2004-01-12 10:52:00 +0000 |
|---|---|---|
| committer | Poul-Henning Kamp <phk@FreeBSD.org> | 2004-01-12 10:52:00 +0000 |
| commit | d5a929dc171e752ceadbca78b71abb2600b8edca (patch) | |
| tree | 3af8ae17d488bfaa972e8c5a78e0bf5fd470b9a6 | |
| parent | 10a527618c9a02afdebbfb6204ad0923b6651144 (diff) | |
Notes
| -rw-r--r-- | sys/dev/md/md.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/dev/md/md.c b/sys/dev/md/md.c index 06976f5a745d..b0f179504d83 100644 --- a/sys/dev/md/md.c +++ b/sys/dev/md/md.c @@ -903,6 +903,10 @@ mdcreate_vnode(struct md_ioctl *mdio, struct thread *td) return (EBUSY); } + if (mdio->md_fwsectors != 0) + sc->fwsectors = mdio->md_fwsectors; + if (mdio->md_fwheads != 0) + sc->fwheads = mdio->md_fwheads; sc->type = MD_VNODE; sc->flags = mdio->md_options & MD_FORCE; if (!(flags & FWRITE)) |
