diff options
Diffstat (limited to 'sys/geom/geom_event.c')
-rw-r--r-- | sys/geom/geom_event.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/geom/geom_event.c b/sys/geom/geom_event.c index 2afaad6..4b9509a 100644 --- a/sys/geom/geom_event.c +++ b/sys/geom/geom_event.c @@ -242,6 +242,8 @@ g_cancel_event(void *ref) } else { g_free(ep); } + if (--g_pending_events == 0) + wakeup(&g_pending_events); break; } } |