OSDN Git Service

block: cleanup elevator_get
authorChristoph Hellwig <hch@lst.de>
Sun, 30 Oct 2022 10:07:09 +0000 (11:07 +0100)
committerJens Axboe <axboe@kernel.dk>
Tue, 1 Nov 2022 14:02:47 +0000 (08:02 -0600)
commit81eaca442ea962c43bdb1e9cbb9eddb41b97491d
tree83dc663c1e33376b1dc2f40e3fc82eac2ac67d5d
parenteb5bca73655cb6aa3bb608253e1e47283240c933
block: cleanup elevator_get

Do the request_module and repeated lookup in the only caller that cares,
pick a saner name that explains where are actually doing a lookup and
use a sane calling conventions that passes the queue first.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20221030100714.876891-3-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/elevator.c