svn commit: r303288 - head/sys/geom
Andrey V. Elsukov
ae at FreeBSD.org
Mon Jul 25 09:12:09 UTC 2016
Author: ae
Date: Mon Jul 25 09:12:08 2016
New Revision: 303288
URL: https://svnweb.freebsd.org/changeset/base/303288
Log:
Do not invoke resize method if geom is being withered.
PR: 211028
MFC after: 2 weeks
Modified:
head/sys/geom/geom_subr.c
Modified: head/sys/geom/geom_subr.c
==============================================================================
--- head/sys/geom/geom_subr.c Mon Jul 25 08:13:50 2016 (r303287)
+++ head/sys/geom/geom_subr.c Mon Jul 25 09:12:08 2016 (r303288)
@@ -636,7 +636,7 @@ g_resize_provider_event(void *arg, int f
LIST_FOREACH_SAFE(cp, &pp->consumers, consumers, cp2) {
gp = cp->geom;
- if (gp->resize != NULL)
+ if ((gp->flags & G_GEOM_WITHER) == 0 && gp->resize != NULL)
gp->resize(cp);
}
More information about the svn-src-all
mailing list