1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-20 15:43:16 +00:00

Don't use statistics counters to detect outstanding I/O.

This commit is contained in:
Poul-Henning Kamp 2003-03-09 10:01:16 +00:00
parent c6ae9b5fd2
commit 0e6be4723b
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=112028

View File

@ -332,7 +332,7 @@ g_detach(struct g_consumer *cp)
KASSERT(cp->acr == 0, ("detach but nonzero acr"));
KASSERT(cp->acw == 0, ("detach but nonzero acw"));
KASSERT(cp->ace == 0, ("detach but nonzero ace"));
KASSERT(cp->stat->nop == cp->stat->nend,
KASSERT(cp->nstart == cp->nend,
("detach with active requests"));
pp = cp->provider;
LIST_REMOVE(cp, consumers);