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)
Fri, Aug 1, 3:52 AM
Unknown Object (File)
Sat, Jul 26, 12:06 PM
Unknown Object (File)
Jun 27 2025, 2:31 PM
Unknown Object (File)
Jun 25 2025, 11:41 PM
Unknown Object (File)
Jun 18 2025, 12:18 PM
Unknown Object (File)
Jun 13 2025, 11:32 PM
Unknown Object (File)
Jun 13 2025, 4:46 AM
Unknown Object (File)
Jun 12 2025, 4:42 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

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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.