FreeBSD Bugzilla – Attachment 182594 Details for
Bug 211136
[Hyper-V]mount root may fail because vfs' mount starts early than VMBUS
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
fix mountroot hyper-v in 11-stable
vmbus.c.patch (text/plain), 987 bytes, created by
David Marker
on 2017-05-14 16:05:34 UTC
(
hide
)
Description:
fix mountroot hyper-v in 11-stable
Filename:
MIME Type:
Creator:
David Marker
Created:
2017-05-14 16:05:34 UTC
Size:
987 bytes
patch
obsolete
>Index: sys/dev/hyperv/vmbus/vmbus.c >=================================================================== >--- sys/dev/hyperv/vmbus/vmbus.c (revision 318252) >+++ sys/dev/hyperv/vmbus/vmbus.c (working copy) >@@ -1307,11 +1307,14 @@ > { > struct sysctl_oid_list *child; > struct sysctl_ctx_list *ctx; >+ struct root_hold_token *root_mount_token = NULL; > int ret; > > if (sc->vmbus_flags & VMBUS_FLAG_ATTACHED) > return (0); > >+ root_mount_token = root_mount_hold("vmbus"); >+ > #ifdef NEW_PCIB > vmbus_get_mmio_res(sc->vmbus_dev); > #endif >@@ -1383,9 +1386,11 @@ > CTLTYPE_STRING | CTLFLAG_RD | CTLFLAG_MPSAFE, sc, 0, > vmbus_sysctl_version, "A", "vmbus version"); > >+ root_mount_rel(root_mount_token); > return (ret); > > cleanup: >+ root_mount_rel(root_mount_token); > vmbus_scan_teardown(sc); > vmbus_intr_teardown(sc); > vmbus_dma_free(sc);
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 211136
:
172546
| 182594