summaryrefslogtreecommitdiffstats
path: root/sys/geom/geom_int.h
diff options
context:
space:
mode:
authormav <mav@FreeBSD.org>2013-03-24 03:15:20 +0000
committermav <mav@FreeBSD.org>2013-03-24 03:15:20 +0000
commit2ebdf6d693c5b5c43ba6dfc4b0764182f83fa035 (patch)
tree4a6e521bbe6077832fa35b9f86aec2fbd461e46a /sys/geom/geom_int.h
parent769b0669e1bbb24e62275530e61b143629eec458 (diff)
downloadFreeBSD-src-2ebdf6d693c5b5c43ba6dfc4b0764182f83fa035.zip
FreeBSD-src-2ebdf6d693c5b5c43ba6dfc4b0764182f83fa035.tar.gz
Make g_wither_washer() to not loop by itself, but only when there was some
more topology change done that may require its attention. Add few missing g_do_wither() calls in respective places to signal it. This fixes potential infinite loop here when some provider is withered, but still opened or connected for some reason and so can not be destroyed. For example, see r227009 and r227510.
Diffstat (limited to 'sys/geom/geom_int.h')
-rw-r--r--sys/geom/geom_int.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/geom/geom_int.h b/sys/geom/geom_int.h
index cb69df3..0a827af 100644
--- a/sys/geom/geom_int.h
+++ b/sys/geom/geom_int.h
@@ -65,7 +65,7 @@ void g_do_wither(void);
/* geom_subr.c */
extern struct class_list_head g_classes;
extern char *g_wait_event, *g_wait_sim, *g_wait_up, *g_wait_down;
-int g_wither_washer(void);
+void g_wither_washer(void);
/* geom_io.c */
void g_io_init(void);
OpenPOWER on IntegriCloud