HomeFreeBSD

Fix GEOM_SHSEC orphanization.

Description

Fix GEOM_SHSEC orphanization.

Previous code closed and destroyed consumer even with I/O in progress.
This patch postpones the destruction till the last close, identical to
GEOM_STRIPE, since they seem to have common origin.

MFC after: 2 weeks
Sponsored by: iXsystems, Inc.

Details

Provenance
mavAuthored on
Parents
rS356161: MFC: r355194
Branches
Unknown
Tags
Unknown