HomeFreeBSD

FreeBSD: unregister mountroot eventhandler on unload

Description

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

Details

Provenance
mjgAuthored on Jun 14 2024, 12:49 AM
GitHub <noreply@github.com>Committed on Jun 14 2024, 12:49 AM
Parents
rG20c8bdd85ef4: FreeBSD: Update use of UMA-related symbols in arc_available_memory
Branches
Unknown
Tags
Unknown