svn commit: r315196 - head/sys/geom/part
Marcelo Araujo
araujo at FreeBSD.org
Mon Mar 13 13:56:03 UTC 2017
Author: araujo
Date: Mon Mar 13 13:56:01 2017
New Revision: 315196
URL: https://svnweb.freebsd.org/changeset/base/315196
Log:
After r315112 I broke the tests with eli, instead to pass 0, I should pass
M_NOWAIT to g_media_changed() that will call g_post_event() with this flag.
Reported by: lwhsu, ngie and ae
Modified:
head/sys/geom/part/g_part.c
Modified: head/sys/geom/part/g_part.c
==============================================================================
--- head/sys/geom/part/g_part.c Mon Mar 13 11:09:17 2017 (r315195)
+++ head/sys/geom/part/g_part.c Mon Mar 13 13:56:01 2017 (r315196)
@@ -891,7 +891,7 @@ g_part_ctl_commit(struct gctl_req *req,
/* Notify consumers that provider might be changed. */
if (entry->gpe_modified && (
entry->gpe_pp->acw + entry->gpe_pp->ace) == 0)
- g_media_changed(entry->gpe_pp, 0);
+ g_media_changed(entry->gpe_pp, M_NOWAIT);
entry->gpe_created = 0;
entry->gpe_modified = 0;
continue;
More information about the svn-src-head
mailing list