HomeFreeBSD

g_resize_provider_event: Do not invoke orphan method twice

Description

g_resize_provider_event: Do not invoke orphan method twice

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.

Reviewed by: ae
Sponsored by: Dell EMC Isilon
Differential Revision: https://reviews.freebsd.org/D12469

Details

Provenance
cemAuthored on
Reviewer
ae
Differential Revision
D12469: g_resize_provider_event: Do not invoke orphan method twice
Parents
rS323976: Re-add BSD.coverage.dist install
Branches
Unknown
Tags
Unknown