freebsd-src/sys/geom/raid3
Mark Johnston 955f213fa2 graid3: Fix teardown in g_raid3_try_destroy()
Commit 33cb9b3c3a replaced a g_raid3_destroy_device() call with a
g_raid3_free_device() call, which was incorrect and could lead to a
panic if a RAID3 GEOM failed to start (e.g., due to missing disks).

Reported by:	graid3 tests
Fixes:		33cb9b3c3a ("graid3: Fix teardown races")
MFC after:	3 days
Sponsored by:	Klara, Inc.
2024-04-20 12:04:57 -04:00
..
g_raid3_ctl.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
g_raid3.c graid3: Fix teardown in g_raid3_try_destroy() 2024-04-20 12:04:57 -04:00
g_raid3.h graid3: Fix teardown races 2023-11-02 14:35:37 -04:00