diff options
Diffstat (limited to 'block/blk-merge.c')
-rw-r--r-- | block/blk-merge.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/block/blk-merge.c b/block/blk-merge.c index d3b84bbb776a..39f2e077a014 100644 --- a/block/blk-merge.c +++ b/block/blk-merge.c | |||
@@ -228,6 +228,7 @@ new_segment: | |||
228 | ((unsigned long)q->dma_drain_buffer) & | 228 | ((unsigned long)q->dma_drain_buffer) & |
229 | (PAGE_SIZE - 1)); | 229 | (PAGE_SIZE - 1)); |
230 | nsegs++; | 230 | nsegs++; |
231 | rq->data_len += q->dma_drain_size; | ||
231 | } | 232 | } |
232 | 233 | ||
233 | if (sg) | 234 | if (sg) |