Page MenuHomeFreeBSD

g_resize_provider_event: Do not invoke orphan method twice
ClosedPublic

Authored by cem on Sep 22 2017, 6:54 PM.

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

Repository
rS FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

cem created this revision.Sep 22 2017, 6:54 PM
ae accepted this revision.Sep 24 2017, 8:28 AM
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.