diff --git a/module/os/macos/zfs/zfs_osx.cpp b/module/os/macos/zfs/zfs_osx.cpp index 8def1240a931..106b97a136cc 100644 --- a/module/os/macos/zfs/zfs_osx.cpp +++ b/module/os/macos/zfs/zfs_osx.cpp @@ -282,12 +282,12 @@ org_openzfsonosx_zfs_zvol::stop(IOService *provider) super::stop(provider); - system_taskq_fini(); - zfs_vfsops_fini(); zfs_kmod_fini(); + system_taskq_fini(); + ldi_fini(); sysctl_unregister_oid(&sysctl__zfs_kext_version);