ae 120b176cea We have two functions from where a geom orphan method could be called:
g_orphan_register and g_resize_provider_event. Both are called from the
event queue. Also we have GEOM_DEV class, which does deferred destroy
for its consumers via g_dev_destroy (also called from the event queue).
So it is possible, that for some consumers an orphan method will be
called twice. This triggers panic in g_dev_orphan.
Check that consumer isn't already orphaned before call orphan method.

MFC after:	2 weeks
2014-05-19 16:05:42 +00:00
..
2011-07-11 05:22:31 +00:00
2014-01-23 21:30:31 +00:00
2013-05-30 01:19:02 +00:00
2012-07-01 05:22:13 +00:00
2011-07-11 05:22:31 +00:00