PERFORCE change 120385 for review
Ulf Lilleengen
lulf at FreeBSD.org
Fri May 25 14:48:17 UTC 2007
http://perforce.freebsd.org/chv.cgi?CH=120385
Change 120385 by lulf at lulf_carrot on 2007/05/25 14:48:02
- Make sure the lock is not held.
Affected files ...
.. //depot/projects/soc2007/lulf/gvinum_fixup/sys/geom/vinum/geom_vinum_plex.c#8 edit
Differences ...
==== //depot/projects/soc2007/lulf/gvinum_fixup/sys/geom/vinum/geom_vinum_plex.c#8 (text+ko) ====
@@ -481,6 +481,8 @@
KASSERT(p != NULL, ("gv_issue_next_parity_bio: NULL p"));
+ /* Make sure we don't have the lock. */
+ g_topology_assert_not();
g_topology_lock();
error = gv_access(p->vol_sc->provider, 1, 1, 0);
if (error) {
@@ -534,6 +536,8 @@
g_free(bp->bio_data);
g_destroy_bio(bp);
+ /* Make sure we don't have the lock. */
+ g_topology_assert_not();
g_topology_lock();
gv_access(p->vol_sc->provider, -1, -1, 0);
g_topology_unlock();
More information about the p4-projects
mailing list