diff options
author | phk <phk@FreeBSD.org> | 2002-09-27 20:30:27 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2002-09-27 20:30:27 +0000 |
commit | a09a7e0aa751dc58e8f65d2417ed2cbb9cb3e686 (patch) | |
tree | c70a8193425979ceece6f80a04d74f9919160030 /sys/geom | |
parent | 85fb4b059081dcaa7eec3259fff969374b3fe678 (diff) | |
download | FreeBSD-src-a09a7e0aa751dc58e8f65d2417ed2cbb9cb3e686.zip FreeBSD-src-a09a7e0aa751dc58e8f65d2417ed2cbb9cb3e686.tar.gz |
Ok, include also the two tests which actually does effect the claims
of the last commit message.
Sponsored by: DARPA & NAI Labs.
Diffstat (limited to 'sys/geom')
-rw-r--r-- | sys/geom/geom_event.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/geom/geom_event.c b/sys/geom/geom_event.c index ece6e49..c6c7c9a 100644 --- a/sys/geom/geom_event.c +++ b/sys/geom/geom_event.c @@ -155,6 +155,8 @@ g_do_event(struct g_event *ep) mp2 = ep->class; if (mp2->taste == NULL) break; + if (g_shutdown) + break; LIST_FOREACH(mp, &g_classes, class) { if (mp2 == mp) continue; @@ -167,6 +169,8 @@ g_do_event(struct g_event *ep) } break; case EV_NEW_PROVIDER: + if (g_shutdown) + break; g_trace(G_T_TOPOLOGY, "EV_NEW_PROVIDER(%s)", ep->provider->name); LIST_FOREACH(mp, &g_classes, class) { |