1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-11-29 08:08:37 +00:00
freebsd/sys/geom/gate
Mark Johnston b37b2543a2 ggate: Avoid dropping the GEOM topology lock in dumpconf
In general it's not safe to drop the topology lock in these routines, as
GEOM assumes that the mesh will be consistent during traversal.
However, there's no reason we can't hold the topology lock across calls
to g_gate_release().  (Note that g_gate_hold() can be called with the
topology lock held.)

PR:		238814
MFC after:	2 weeks
2024-10-04 15:56:34 +00:00
..
g_gate.c ggate: Avoid dropping the GEOM topology lock in dumpconf 2024-10-04 15:56:34 +00:00
g_gate.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00