Fix regression in last commit.
This commit is contained in:
parent
5634e50d5e
commit
11e9a67906
@ -406,7 +406,7 @@ disk_destroy(struct disk *dp)
|
||||
dp->d_destroyed = 1;
|
||||
if (dp->d_devstat != NULL)
|
||||
devstat_remove_entry(dp->d_devstat);
|
||||
g_post_event(g_disk_destroy, dp, M_WAITOK, NULL, NULL);
|
||||
g_post_event(g_disk_destroy, dp, M_WAITOK, NULL);
|
||||
}
|
||||
|
||||
static void
|
||||
|
Loading…
Reference in New Issue
Block a user