DF-1365 / fix.diff
diff --git a/sys/dev/disk/fd/fd.c b/sys/dev/disk/fd/fd.c --- a/sys/dev/disk/fd/fd.c +++ b/sys/dev/disk/fd/fd.c @@ -1087,8 +1087,8 @@ disk_invalidate(&fd->disk); disk_destroy(&fd->disk); devstat_remove_entry(&fd->device_stats); - callout_stop(&fd->toffhandle); - callout_stop(&fd->motor); + callout_stop_sync(&fd->toffhandle); + callout_stop_sync(&fd->motor); return (0); } |