diff options
| author | Poul-Henning Kamp <phk@FreeBSD.org> | 2004-01-09 16:10:32 +0000 | 
|---|---|---|
| committer | Poul-Henning Kamp <phk@FreeBSD.org> | 2004-01-09 16:10:32 +0000 | 
| commit | cfa35456ca199a2264e6a18e1f99b91f7fb4f11b (patch) | |
| tree | b0b3bdc3ee3787441012232c55a51520072e370b | |
| parent | a3d2cb099811709ffafc683980fe0f9e04632419 (diff) | |
Notes
| -rw-r--r-- | sys/geom/geom_subr.c | 1 | 
1 files changed, 1 insertions, 0 deletions
| diff --git a/sys/geom/geom_subr.c b/sys/geom/geom_subr.c index 995c11333ed3..b4b05278fa34 100644 --- a/sys/geom/geom_subr.c +++ b/sys/geom/geom_subr.c @@ -581,6 +581,7 @@ g_access_rel(struct g_consumer *cp, int dcr, int dcw, int dce)  	KASSERT(cp->acr + dcr >= 0, ("access resulting in negative acr"));  	KASSERT(cp->acw + dcw >= 0, ("access resulting in negative acw"));  	KASSERT(cp->ace + dce >= 0, ("access resulting in negative ace")); +	KASSERT(dcr != 0 || dcw != 0 || dce != 0, ("NOP access request"));  	KASSERT(pp->geom->access != NULL, ("NULL geom->access"));  	/* | 
