diff --git a/module/zfs/dmu.c b/module/zfs/dmu.c index dfa075571b..8840d65dcb 100644 --- a/module/zfs/dmu.c +++ b/module/zfs/dmu.c @@ -680,7 +680,7 @@ dmu_req_copy(void *arg_buf, int size, int *offset, struct request *req) rq_for_each_segment(bv, req, iter) { /* Fully consumed the passed arg_buf */ - ASSERT3S(offset, <=, size); + ASSERT3S(*offset, <=, size); if (size == *offset) break;