mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Remove devstat entries in mddelete()
Spotted: tegge
This commit is contained in:
parent
3b42f2f3bb
commit
c93849206e
1 changed files with 1 additions and 0 deletions
|
|
@ -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 a new issue