aboutsummaryrefslogtreecommitdiffstats
path: root/block/blk-core.c
diff options
context:
space:
mode:
authorJens Axboe <jens.axboe@oracle.com>2009-05-22 14:25:34 -0400
committerJens Axboe <jens.axboe@oracle.com>2009-05-22 14:25:34 -0400
commite4b636366c00738b9609cda307014d71b1225b7f (patch)
tree760b67b3624eda62e943e48ce93635c30a5b47bf /block/blk-core.c
parentb9ed7252d219c1c663944bf03846eabb515dbe75 (diff)
parent279e677faa775ad16e75c32e1bf4a37f8158bc61 (diff)
Merge branch 'master' into for-2.6.31
Conflicts: drivers/block/hd.c drivers/block/mg_disk.c Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'block/blk-core.c')
-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 1c748403882..59c4af52311 100644
--- a/block/blk-core.c
+++ b/block/blk-core.c
@@ -1935,10 +1935,10 @@ bool blk_update_request(struct request *req, int error, unsigned int nr_bytes)
1935 } else { 1935 } else {
1936 int idx = bio->bi_idx + next_idx; 1936 int idx = bio->bi_idx + next_idx;
1937 1937
1938 if (unlikely(bio->bi_idx >= bio->bi_vcnt)) { 1938 if (unlikely(idx >= bio->bi_vcnt)) {
1939 blk_dump_rq_flags(req, "__end_that"); 1939 blk_dump_rq_flags(req, "__end_that");
1940 printk(KERN_ERR "%s: bio idx %d >= vcnt %d\n", 1940 printk(KERN_ERR "%s: bio idx %d >= vcnt %d\n",
1941 __func__, bio->bi_idx, bio->bi_vcnt); 1941 __func__, idx, bio->bi_vcnt);
1942 break; 1942 break;
1943 } 1943 }
1944 1944