]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
MFC r248674:
authormav <mav@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 18 Apr 2013 10:49:52 +0000 (10:49 +0000)
committermav <mav@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 18 Apr 2013 10:49:52 +0000 (10:49 +0000)
commit70a0e77d74302d6c8e4e5bf5a4a61be3dd87f4f9
tree0ef1fe1abe311077f422cec39e453ab117d64c0e
parent757ad2c3660e9d9686323fec0db6d3daba26ca64
MFC r248674:
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.

git-svn-id: svn://svn.freebsd.org/base/stable/9@249619 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/geom/geom_event.c
sys/geom/geom_int.h
sys/geom/geom_subr.c