aboutsummaryrefslogtreecommitdiffstats
path: root/block
diff options
context:
space:
mode:
Diffstat (limited to 'block')
-rw-r--r--block/blk-core.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/block/blk-core.c b/block/blk-core.c
index d028baf946a3..1306de9cce04 100644
--- a/block/blk-core.c
+++ b/block/blk-core.c
@@ -1767,10 +1767,10 @@ static int __end_that_request_first(struct request *req, int error,
1767 } else { 1767 } else {
1768 int idx = bio->bi_idx + next_idx; 1768 int idx = bio->bi_idx + next_idx;
1769 1769
1770 if (unlikely(bio->bi_idx >= bio->bi_vcnt)) { 1770 if (unlikely(idx >= bio->bi_vcnt)) {
1771 blk_dump_rq_flags(req, "__end_that"); 1771 blk_dump_rq_flags(req, "__end_that");
1772 printk(KERN_ERR "%s: bio idx %d >= vcnt %d\n", 1772 printk(KERN_ERR "%s: bio idx %d >= vcnt %d\n",
1773 __func__, bio->bi_idx, bio->bi_vcnt); 1773 __func__, idx, bio->bi_vcnt);
1774 break; 1774 break;
1775 } 1775 }
1776 1776