Remove devstat entries in mddelete()
Spotted: tegge
This commit is contained in:
parent
3b42f2f3bb
commit
c93849206e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=71747
@ -517,6 +517,7 @@ static void
|
||||
mddelete(struct md_s *sc)
|
||||
{
|
||||
|
||||
devstat_remove_entry(&sc->stats);
|
||||
/* XXX: LOCK(unique unit numbers) */
|
||||
LIST_REMOVE(sc, list);
|
||||
/* XXX: UNLOCK(unique unit numbers) */
|
||||
|
Loading…
Reference in New Issue
Block a user