Skip to content

Commit

Permalink
macOS: zfs_kmod_fini() calls taskq_cancel_id()
Browse files Browse the repository at this point in the history
so we must unload system_taskq_fini() after the call to zfs_kmod_fini()
  • Loading branch information
lundman committed May 24, 2021
1 parent 23c233f commit 5e2d62d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions module/os/macos/zfs/zfs_osx.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 5e2d62d

Please sign in to comment.