opnsense-src/sys/geom/raid3
Mark Johnston 692106afb8 graid3: Fix teardown in g_raid3_try_destroy()
Commit 33cb9b3c3a22 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:		33cb9b3c3a22 ("graid3: Fix teardown races")
MFC after:	3 days
Sponsored by:	Klara, Inc.

(cherry picked from commit 955f213fa2f14d5b5e9b655d8922e28315eb9fa3)
2024-04-23 09:51:33 -04:00
..
g_raid3.c graid3: Fix teardown in g_raid3_try_destroy() 2024-04-23 09:51:33 -04:00
g_raid3.h graid3: Fix teardown races 2023-12-02 14:25:51 -05:00
g_raid3_ctl.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00