summaryrefslogtreecommitdiffstats
path: root/sys/geom/part/g_part.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/geom/part/g_part.c')
-rw-r--r--sys/geom/part/g_part.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/geom/part/g_part.c b/sys/geom/part/g_part.c
index b6f49ce..51202d8 100644
--- a/sys/geom/part/g_part.c
+++ b/sys/geom/part/g_part.c
@@ -886,7 +886,8 @@ g_part_ctl_commit(struct gctl_req *req, struct g_part_parms *gpp)
if (!entry->gpe_deleted) {
/* Notify consumers that provider might be changed. */
if (entry->gpe_modified && (
- entry->gpe_pp->acw + entry->gpe_pp->ace) == 0)
+ entry->gpe_pp->acw + entry->gpe_pp->ace +
+ entry->gpe_pp->acr) == 0)
g_media_changed(entry->gpe_pp, M_NOWAIT);
entry->gpe_created = 0;
entry->gpe_modified = 0;
OpenPOWER on IntegriCloud