FreeBSD Bugzilla – Attachment 174918 Details for
Bug 162690
[geom] [patch] gpart label changes only take effect after a reboot
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch to handle gpart add/modify automatically (thx to Andrey)
spoil_after_modify.diff (text/plain), 626 bytes, created by
Ben RUBSON
on 2016-09-18 14:45:34 UTC
(
hide
)
Description:
patch to handle gpart add/modify automatically (thx to Andrey)
Filename:
MIME Type:
Creator:
Ben RUBSON
Created:
2016-09-18 14:45:34 UTC
Size:
626 bytes
patch
obsolete
>Index: head/sys/geom/part/g_part.c >=================================================================== >--- head/sys/geom/part/g_part.c (revision 305356) >+++ head/sys/geom/part/g_part.c (working copy) >@@ -884,6 +884,10 @@ g_part_ctl_commit(struct gctl_req *req, struct g_p > > LIST_FOREACH_SAFE(entry, &table->gpt_entry, gpe_entry, tmp) { > if (!entry->gpe_deleted) { >+ /* 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); > entry->gpe_created = 0; > entry->gpe_modified = 0; > continue;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 162690
:
174723
| 174918 |
177389