HomeFreeBSD

Fix a lock leak in g_mirror_destroy().

Description

Fix a lock leak in g_mirror_destroy().

g_mirror_destroy() is supposed to unlock the softc before indicating
success, but it wasn't doing so if the caller raced with another
thread destroying the mirror.

MFC after: 1 week
Sponsored by: Dell EMC Isilon

Details

Provenance
markjAuthored on
Parents
rS325043: Update comment to match r177997 & r178036 changes.
Branches
Unknown
Tags
Unknown