diff options
author | Christoph Hellwig <hch@lst.de> | 2020-12-03 17:21:39 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-12-04 09:42:00 -0700 |
commit | a54895fa057c67700270777f7661d8d3c7fda88a (patch) | |
tree | ec264f6bd6aeea3ad6da1113d2afeab52c0537db /block/blk-mq-sched.c | |
parent | 1c02fca620f7273b597591065d366e2cca948d8f (diff) | |
download | linux-a54895fa057c67700270777f7661d8d3c7fda88a.tar.gz linux-a54895fa057c67700270777f7661d8d3c7fda88a.tar.bz2 linux-a54895fa057c67700270777f7661d8d3c7fda88a.zip |
block: remove the request_queue to argument request based tracepoints
The request_queue can trivially be derived from the request.
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/blk-mq-sched.c')
-rw-r--r-- | block/blk-mq-sched.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/block/blk-mq-sched.c b/block/blk-mq-sched.c index d1eafe2c045c..deff4e826e23 100644 --- a/block/blk-mq-sched.c +++ b/block/blk-mq-sched.c @@ -386,7 +386,7 @@ EXPORT_SYMBOL_GPL(blk_mq_sched_try_insert_merge); void blk_mq_sched_request_inserted(struct request *rq) { - trace_block_rq_insert(rq->q, rq); + trace_block_rq_insert(rq); } EXPORT_SYMBOL_GPL(blk_mq_sched_request_inserted); |