block: merge __bio_associate_blkg into bio_associate_blkg_from_css
authorChristoph Hellwig <hch@lst.de>
Sat, 27 Jun 2020 07:31:49 +0000 (09:31 +0200)
committerJens Axboe <axboe@kernel.dk>
Mon, 29 Jun 2020 15:09:08 +0000 (09:09 -0600)
commit2badf06cf906c7af4bdd4bc1da62890c8e686341
treeae4a182d31c8fd73f4760fe58d1fde7ee30bffee
parentd92c370a16cbe0276954c761b874bd024a7e4fac
block: merge __bio_associate_blkg into bio_associate_blkg_from_css

Merge __bio_associate_blkg into the only caller, which allows to slightly
reduce the RCU crticial section and better explain the code flow.

Acked-by: Tejun Heo <tj@kernel.org>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/bio.c