From 127bfb5486f134ef3bfe0339f068060e04e3b1bc Mon Sep 17 00:00:00 2001 From: phk Date: Sun, 16 Mar 2003 16:29:04 +0000 Subject: #ifdef notyet a bit of code which needs not yet committed refcounting to work correctly. --- sys/geom/geom_event.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/geom/geom_event.c b/sys/geom/geom_event.c index c8bb15d..73525e0 100644 --- a/sys/geom/geom_event.c +++ b/sys/geom/geom_event.c @@ -118,11 +118,13 @@ g_orphan_register(struct g_provider *pp) cp->geom->orphan(cp); cp = cp2; } +#ifdef notyet cp = LIST_FIRST(&pp->consumers); if (cp != NULL) return; if (pp->geom->flags & G_GEOM_WITHER) g_destroy_provider(pp); +#endif } static void -- cgit v1.1