diff options
| author | Poul-Henning Kamp <phk@FreeBSD.org> | 2003-03-09 10:01:16 +0000 |
|---|---|---|
| committer | Poul-Henning Kamp <phk@FreeBSD.org> | 2003-03-09 10:01:16 +0000 |
| commit | 0e6be4723b19cdc465f275515d6d3ebae33c3e4f (patch) | |
| tree | ca31f5e1d74d637647f1515cdb146ced002019cc | |
| parent | c6ae9b5fd2888dacabd9beb8f23c57b1700da1a5 (diff) | |
Notes
| -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 1b9c01ef9d32..1dda9d3d9272 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); |
