aboutsummaryrefslogtreecommitdiff
path: root/sys/geom/vinum/geom_vinum_drive.c
diff options
context:
space:
mode:
authorLukas Ertl <le@FreeBSD.org>2004-08-10 20:15:12 +0000
committerLukas Ertl <le@FreeBSD.org>2004-08-10 20:15:12 +0000
commitecffb8e64b1b4c964fc20b82436990ebd09e8aaf (patch)
tree03797bd1fcb4dbe908d740b1ee31d15d125a4b8a /sys/geom/vinum/geom_vinum_drive.c
parent6b2b3e87451e930d2ba41de96693a658e4e762d9 (diff)
downloadsrc-ecffb8e64b1b4c964fc20b82436990ebd09e8aaf.tar.gz
src-ecffb8e64b1b4c964fc20b82436990ebd09e8aaf.zip
Notes
Diffstat (limited to 'sys/geom/vinum/geom_vinum_drive.c')
-rw-r--r--sys/geom/vinum/geom_vinum_drive.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/geom/vinum/geom_vinum_drive.c b/sys/geom/vinum/geom_vinum_drive.c
index 17a3737ca800..a5d2b594628a 100644
--- a/sys/geom/vinum/geom_vinum_drive.c
+++ b/sys/geom/vinum/geom_vinum_drive.c
@@ -367,10 +367,10 @@ gv_drive_taste(struct g_class *mp, struct g_provider *pp, int flags __unused)
g_free(vhdr);
break;
}
+ g_topology_lock();
gv_parse_config(sc, buf, 1);
g_free(buf);
- g_topology_lock();
g_access(cp, -1, 0, 0);
g_detach(cp);
g_wither_geom(gp, ENXIO);