aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/md/dm-kcopyd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/dm-kcopyd.c b/drivers/md/dm-kcopyd.c
index 1bb73a13ca40..505b6f5cd385 100644
--- a/drivers/md/dm-kcopyd.c
+++ b/drivers/md/dm-kcopyd.c
@@ -578,7 +578,7 @@ int dm_kcopyd_copy(struct dm_kcopyd_client *kc, struct dm_io_region *from,
578 job->fn = fn; 578 job->fn = fn;
579 job->context = context; 579 job->context = context;
580 580
581 if (job->source.count < SUB_JOB_SIZE) 581 if (job->source.count <= SUB_JOB_SIZE)
582 dispatch_job(job); 582 dispatch_job(job);
583 583
584 else { 584 else {