diff options
Diffstat (limited to 'block')
-rw-r--r-- | block/blk-core.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/block/blk-core.c b/block/blk-core.c index 93051d151635..982d634e67f9 100644 --- a/block/blk-core.c +++ b/block/blk-core.c | |||
@@ -1462,8 +1462,6 @@ static inline void __generic_make_request(struct bio *bio) | |||
1462 | if (old_sector != -1) | 1462 | if (old_sector != -1) |
1463 | trace_block_remap(q, bio, old_dev, old_sector); | 1463 | trace_block_remap(q, bio, old_dev, old_sector); |
1464 | 1464 | ||
1465 | trace_block_bio_queue(q, bio); | ||
1466 | |||
1467 | old_sector = bio->bi_sector; | 1465 | old_sector = bio->bi_sector; |
1468 | old_dev = bio->bi_bdev->bd_dev; | 1466 | old_dev = bio->bi_bdev->bd_dev; |
1469 | 1467 | ||
@@ -1476,6 +1474,8 @@ static inline void __generic_make_request(struct bio *bio) | |||
1476 | goto end_io; | 1474 | goto end_io; |
1477 | } | 1475 | } |
1478 | 1476 | ||
1477 | trace_block_bio_queue(q, bio); | ||
1478 | |||
1479 | ret = q->make_request_fn(q, bio); | 1479 | ret = q->make_request_fn(q, bio); |
1480 | } while (ret); | 1480 | } while (ret); |
1481 | 1481 | ||