View | Details | Raw Unified | Return to bug 162690 | Differences between
and this patch

Collapse All | Expand All

(-)head/sys/geom/part/g_part.c (+4 lines)
Lines 884-889 g_part_ctl_commit(struct gctl_req *req, struct g_p Link Here
884
884
885
	LIST_FOREACH_SAFE(entry, &table->gpt_entry, gpe_entry, tmp) {
885
	LIST_FOREACH_SAFE(entry, &table->gpt_entry, gpe_entry, tmp) {
886
		if (!entry->gpe_deleted) {
886
		if (!entry->gpe_deleted) {
887
			/* Notify consumers that provider might be changed. */
888
			if (entry->gpe_modified && (
889
			    entry->gpe_pp->acw + entry->gpe_pp->ace) == 0)
890
				g_media_changed(entry->gpe_pp, 0);
887
			entry->gpe_created = 0;
891
			entry->gpe_created = 0;
888
			entry->gpe_modified = 0;
892
			entry->gpe_modified = 0;
889
			continue;
893
			continue;

Return to bug 162690