]> git.baikalelectronics.ru Git - kernel.git/commit
block: remove superfluous param in blk_fill_rwbs()
authorChaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Mon, 22 Feb 2021 05:29:55 +0000 (21:29 -0800)
committerJens Axboe <axboe@kernel.dk>
Mon, 22 Feb 2021 13:37:41 +0000 (06:37 -0700)
commita6bdf94b2e4ba3047930724f01a8366b143fbf5c
treef6bfa0de6b531420e1b5d86a142a62acbbce6153
parent954599b0604b4ae40f9639822fd8b82184441ad8
block: remove superfluous param in blk_fill_rwbs()

The last parameter for the function blk_fill_rwbs() was added in
5782138e47 ("tracing/events: convert block trace points to
TRACE_EVENT()") in order to signal read request and use of that parameter
was replaced with using switch case REQ_OP_READ with
9dbf0eab28e ("blktrace: use op accessors"), but the parameter was never
removed.

Remove the unused parameter and adjust the respective call sites.

Fixes: 9dbf0eab28e ("blktrace: use op accessors")
Signed-off-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Reviewed-by: Damien Le Moal <damien.lemoal@wdc.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
include/linux/blktrace_api.h
include/trace/events/bcache.h
include/trace/events/block.h
kernel/trace/blktrace.c