summaryrefslogtreecommitdiff
path: root/block/blk-throttle.c
diff options
context:
space:
mode:
authorPavel Begunkov <asml.silence@gmail.com>2021-10-14 15:03:29 +0100
committerJens Axboe <axboe@kernel.dk>2021-10-18 06:17:36 -0600
commiteab4e02733699cdf76fbe5e542d248c28454b3af (patch)
tree7cef0a747a7cc5f76ac4cbd6fba84381535cd646 /block/blk-throttle.c
parent3caee4634be68e755d2fb130962f1623661dbd5b (diff)
downloadlinux-stable-eab4e02733699cdf76fbe5e542d248c28454b3af.tar.gz
block: use bdev_get_queue() in blk-core.c
Convert bdev->bd_disk->queue to bdev_get_queue(), it's uses a cached queue pointer and so is faster. Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Link: https://lore.kernel.org/r/efc41f880262517c8dc32f932f1b23112f21b255.1634219547.git.asml.silence@gmail.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk-throttle.c')
0 files changed, 0 insertions, 0 deletions