summaryrefslogtreecommitdiff
path: root/drivers/md/md-linear.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2020-12-03 19:21:38 +0300
committerJens Axboe <axboe@kernel.dk>2020-12-04 19:42:00 +0300
commit1c02fca620f7273b597591065d366e2cca948d8f (patch)
tree1cc26fdd58666673fe42711b6380ee3a3abb9265 /drivers/md/md-linear.c
parenteb6f7f7cd3af0f67ce57b21fab1bc64beb643581 (diff)
downloadlinux-1c02fca620f7273b597591065d366e2cca948d8f.tar.xz
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 'drivers/md/md-linear.c')
-rw-r--r--drivers/md/md-linear.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/md/md-linear.c b/drivers/md/md-linear.c
index 98f1b4b2bdce..68cac7d19278 100644
--- a/drivers/md/md-linear.c
+++ b/drivers/md/md-linear.c
@@ -257,8 +257,7 @@ static bool linear_make_request(struct mddev *mddev, struct bio *bio)
bio_endio(bio);
} else {
if (mddev->gendisk)
- trace_block_bio_remap(bio->bi_disk->queue,
- bio, disk_devt(mddev->gendisk),
+ trace_block_bio_remap(bio, disk_devt(mddev->gendisk),
bio_sector);
mddev_check_writesame(mddev, bio);
mddev_check_write_zeroes(mddev, bio);