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

Committed
traszOct 2 2017, 11:57 AM
Reviewer
avg
Differential Revision
D12228: Clear G_CF_ORPHAN when attaching.
Parents
rS324198: 8081 Compiler warnings in zdb
Branches
Unknown
Tags
Unknown