summaryrefslogtreecommitdiff
path: root/block
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2020-12-03 17:21:38 +0100
committerJens Axboe <axboe@kernel.dk>2020-12-04 09:42:00 -0700
commit1c02fca620f7273b597591065d366e2cca948d8f (patch)
tree1cc26fdd58666673fe42711b6380ee3a3abb9265 /block
parenteb6f7f7cd3af0f67ce57b21fab1bc64beb643581 (diff)
downloadlwn-1c02fca620f7273b597591065d366e2cca948d8f.tar.gz
lwn-1c02fca620f7273b597591065d366e2cca948d8f.zip
block: remove the request_queue argument to the block_bio_remap tracepoint
The request_queue can trivially be derived from the bio. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Damien Le Moal <damien.lemoal@wdc.com> Reviewed-by: Hannes Reinecke <hare@suse.de> Reviewed-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com> Acked-by: Tejun Heo <tj@kernel.org> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block')
-rw-r--r--block/blk-core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/block/blk-core.c b/block/blk-core.c
index cb24654983e1..96e5fcd7f071 100644
--- a/block/blk-core.c
+++ b/block/blk-core.c
@@ -758,7 +758,7 @@ static inline int blk_partition_remap(struct bio *bio)
if (bio_check_eod(bio, bdev_nr_sectors(p)))
goto out;
bio->bi_iter.bi_sector += p->bd_start_sect;
- trace_block_bio_remap(bio->bi_disk->queue, bio, p->bd_dev,
+ trace_block_bio_remap(bio, p->bd_dev,
bio->bi_iter.bi_sector -
p->bd_start_sect);
}