block: split bio_queue_enter from blk_queue_enter
authorChristoph Hellwig <hch@lst.de>
Wed, 29 Sep 2021 07:12:39 +0000 (09:12 +0200)
committerJens Axboe <axboe@kernel.dk>
Sat, 16 Oct 2021 03:02:47 +0000 (21:02 -0600)
commita6741536f44ae65491cfde6870ae518aabe1ca36
tree5cf8803796ba5519add7a1ce416c415dedc16cad
parent1f14a0989073459c2be6b5c7b3fb7f9f3d7fa2af
block: split bio_queue_enter from blk_queue_enter

To prepare for fixing a gendisk shutdown race, open code the
blk_queue_enter logic in bio_queue_enter.  This also removes the
pointless flags translation.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Tested-by: Darrick J. Wong <djwong@kernel.org>
Link: https://lore.kernel.org/r/20210929071241.934472-4-hch@lst.de
Tested-by: Yi Zhang <yi.zhang@redhat.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-core.c