diff options
author | Andrey V. Elsukov <ae@FreeBSD.org> | 2016-07-25 09:12:08 +0000 |
---|---|---|
committer | Andrey V. Elsukov <ae@FreeBSD.org> | 2016-07-25 09:12:08 +0000 |
commit | 1f353a2315dd6fcd0716986d2778dbe5632c0baa (patch) | |
tree | 64ba03773fb814d699d992123e2373386b94f187 /sys/geom | |
parent | 591d7b63ca9d6fd65363e6f9d25ab22c6d4368f9 (diff) | |
download | src-1f353a2315dd6fcd0716986d2778dbe5632c0baa.tar.gz src-1f353a2315dd6fcd0716986d2778dbe5632c0baa.zip |
Do not invoke resize method if geom is being withered.
PR: 211028
MFC after: 2 weeks
Notes
Notes:
svn path=/head/; revision=303288
Diffstat (limited to 'sys/geom')
-rw-r--r-- | sys/geom/geom_subr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/geom/geom_subr.c b/sys/geom/geom_subr.c index f67b74413c82..d0df840945c4 100644 --- a/sys/geom/geom_subr.c +++ b/sys/geom/geom_subr.c @@ -636,7 +636,7 @@ g_resize_provider_event(void *arg, int flag) 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); } |