diff options
author | araujo <araujo@FreeBSD.org> | 2017-07-03 05:04:44 +0000 |
---|---|---|
committer | araujo <araujo@FreeBSD.org> | 2017-07-03 05:04:44 +0000 |
commit | b08656c3ba28a86e0926cc00cec5a27fba136dcf (patch) | |
tree | e84d5b64f37ffd0b0e34dec89faeef43a271685a /sys/geom/part/g_part.c | |
parent | b93eff4c864fec9924088fbd05edaecec5ea5beb (diff) | |
download | FreeBSD-src-b08656c3ba28a86e0926cc00cec5a27fba136dcf.zip FreeBSD-src-b08656c3ba28a86e0926cc00cec5a27fba136dcf.tar.gz |
MFS r320566: MFC r320390:
With r318394 seems it breaks gpart(8) in some embedded systems such like PCEngines,
RPI1-B, Alix and APU2 boards as well as NanoBSD with the following message:
vnode_pager_generic_getpages_done: I/O read error 5
Seems the breakage was because it was missed to include acr in glabel update.
Approved by: re (delphij)
Diffstat (limited to 'sys/geom/part/g_part.c')
-rw-r--r-- | sys/geom/part/g_part.c | 3 |
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; |