diff options
author | phk <phk@FreeBSD.org> | 2001-01-28 20:55:55 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2001-01-28 20:55:55 +0000 |
commit | 079c35c874982f7198aa9b9fd3a25e92cb77ea1e (patch) | |
tree | 49144641df1b7e45dd8df99b2abcc5b3e49d9c63 /sys | |
parent | 89f4ee5ca6d98d6e7315034f013aacbcc0561725 (diff) | |
download | FreeBSD-src-079c35c874982f7198aa9b9fd3a25e92cb77ea1e.zip FreeBSD-src-079c35c874982f7198aa9b9fd3a25e92cb77ea1e.tar.gz |
Remove devstat entries in mddelete()
Spotted: tegge
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/md/md.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/md/md.c b/sys/dev/md/md.c index 064df7b..334023a 100644 --- a/sys/dev/md/md.c +++ b/sys/dev/md/md.c @@ -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) */ |