Page MenuHomeFreeBSD

Clear G_CF_ORPHAN when attaching.
ClosedPublic

Authored by trasz on Sep 4 2017, 11:08 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Nov 11, 3:27 AM
Unknown Object (File)
Fri, Oct 31, 11:35 AM
Unknown Object (File)
Fri, Oct 31, 11:34 AM
Unknown Object (File)
Fri, Oct 31, 6:04 AM
Unknown Object (File)
Fri, Oct 31, 12:44 AM
Unknown Object (File)
Mon, Oct 20, 7:30 PM
Unknown Object (File)
Sat, Oct 18, 3:15 PM
Unknown Object (File)
Sep 27 2025, 2:34 AM
Subscribers

Details

Summary

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.

Diff Detail

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

Event Timeline

I have no specific objections. Probably I was just thinking that consumer should be destroyed and recreated after orphan event happened, but if gmountver does not go it, this indeed may help. I just think whether G_CF_SPOILED should also be cleared there then?

This revision is now accepted and ready to land.Sep 20 2017, 9:20 PM
This revision was automatically updated to reflect the committed changes.