aboutsummaryrefslogtreecommitdiff
path: root/sys/geom
diff options
context:
space:
mode:
Diffstat (limited to 'sys/geom')
-rw-r--r--sys/geom/geom_ccd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/geom/geom_ccd.c b/sys/geom/geom_ccd.c
index d7e9e6d9e625..ccb03685aa6c 100644
--- a/sys/geom/geom_ccd.c
+++ b/sys/geom/geom_ccd.c
@@ -173,7 +173,7 @@ g_ccd_access(struct g_provider *pp, int dr, int dw, int de)
LIST_FOREACH(cp2, &gp->consumer, consumer) {
if (cp1 == cp2)
break;
- g_access_rel(cp1, -dr, -dw, -de);
+ g_access_rel(cp2, -dr, -dw, -de);
}
break;
}