mirror_zfs/module/os
Mateusz Guzik 121a2d3354
FreeBSD: unregister mountroot eventhandler on unload
Otherwise if zfs is unloaded and reroot is being used it trips over a
stale pointer.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Alexander Motin <mav@FreeBSD.org>
Sponsored by:	Rubicon Communications, LLC ("Netgate")
Signed-off-by: Mateusz Guzik <mjguzik@gmail.com>
Closes #16242
2024-06-13 17:49:50 -07:00
..
freebsd FreeBSD: unregister mountroot eventhandler on unload 2024-06-13 17:49:50 -07:00
linux Simplify issig(). 2024-05-29 10:49:11 -07:00