diff options
author | phk <phk@FreeBSD.org> | 2003-03-09 10:01:16 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2003-03-09 10:01:16 +0000 |
commit | 418634ed06b2de65511355dbaca57a245ecb6c94 (patch) | |
tree | ca31f5e1d74d637647f1515cdb146ced002019cc /sys/geom | |
parent | d2601e24806f334788c76033d47ff88a171c98d5 (diff) | |
download | FreeBSD-src-418634ed06b2de65511355dbaca57a245ecb6c94.zip FreeBSD-src-418634ed06b2de65511355dbaca57a245ecb6c94.tar.gz |
Don't use statistics counters to detect outstanding I/O.
Diffstat (limited to 'sys/geom')
-rw-r--r-- | sys/geom/geom_subr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/geom/geom_subr.c b/sys/geom/geom_subr.c index 1b9c01e..1dda9d3 100644 --- a/sys/geom/geom_subr.c +++ b/sys/geom/geom_subr.c @@ -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); |