HomeFreeBSD

Clear G_CF_ORPHAN when attaching. This fixes cases where the same

Description

Clear G_CF_ORPHAN when attaching. This fixes cases where the same
GEOM consumer can be orphaned, and then reattach to another provider.

From a user point of view, this makes gmountver(4) work again.

Reviewed by: avg, mav
MFC after: 2 weeks
Sponsored by: DARPA, AFRL
Differential Revision: https://reviews.freebsd.org/D12228

Details

Provenance
traszAuthored on
Reviewer
avg
Differential Revision
D12228: Clear G_CF_ORPHAN when attaching.
Parents
rS324198: 8081 Compiler warnings in zdb
Branches
Unknown
Tags
Unknown