Fix regression in last commit.

This commit is contained in:
Poul-Henning Kamp 2004-06-29 08:33:58 +00:00
parent 5634e50d5e
commit 11e9a67906
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=131267

View File

@ -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