Page MenuHomeFreeBSD

g_resize_provider_event: Do not invoke orphan method twice
ClosedPublic

Authored by cem on Sep 22 2017, 6:54 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Dec 15, 5:00 PM
Unknown Object (File)
Nov 22 2024, 3:33 AM
Unknown Object (File)
Oct 2 2024, 1:00 AM
Unknown Object (File)
Oct 1 2024, 9:51 PM
Unknown Object (File)
Oct 1 2024, 9:43 PM
Unknown Object (File)
Sep 21 2024, 9:07 AM
Unknown Object (File)
Sep 12 2024, 5:50 PM
Unknown Object (File)
Sep 11 2024, 9:02 AM
Subscribers
None

Details

Summary

Like r266444, g_resize_provider_event can attempt to orphan an already
orphaned geom_dev consumer. This will cause a panic in g_dev_orphan. Apply
the same fix as was applied to g_orphan_register.

Diff Detail

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 11701
Build 12047: arc lint + arc unit

Event Timeline

This revision is now accepted and ready to land.Sep 24 2017, 8:28 AM
This revision was automatically updated to reflect the committed changes.