]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
block: use bdev_get_queue() in bdev.c
authorPavel Begunkov <asml.silence@gmail.com>
Thu, 14 Oct 2021 14:03:27 +0000 (15:03 +0100)
committerJens Axboe <axboe@kernel.dk>
Mon, 18 Oct 2021 12:17:36 +0000 (06:17 -0600)
commit025a38651ba6178a709ecf351ca90d11fa2908cd
treeea3bd9b016ef54f43ef41a2db13dfc4dab0ce203
parent17220ca5ce9606c1b015c4316fca18734c2df0bb
block: use bdev_get_queue() in bdev.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/a352936ce5d9ac719645b1e29b173d931ebcdc02.1634219547.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/bdev.c