block: cleanup ioc_clear_queue
authorChristoph Hellwig <hch@lst.de>
Thu, 9 Dec 2021 06:31:26 +0000 (07:31 +0100)
committerJens Axboe <axboe@kernel.dk>
Thu, 16 Dec 2021 17:59:01 +0000 (10:59 -0700)
commit091abcb3efd71cb18e80c8f040d9e4a634d8906d
treedffd42b2e43160e2d364d2f0e6a4d27434400a6c
parentedf70ff5a1ed9769da35178454d743828061a6a3
block: cleanup ioc_clear_queue

Fold __ioc_clear_queue into ioc_clear_queue and switch to always
use plain _irq locking instead of the more expensive _irqsave that
is not needed here.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Jan Kara <jack@suse.cz>
Link: https://lore.kernel.org/r/20211209063131.18537-7-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-ioc.c