]> git.baikalelectronics.ru Git - kernel.git/commit
block: refator submit_bio_noacct
authorChristoph Hellwig <hch@lst.de>
Wed, 1 Jul 2020 08:59:45 +0000 (10:59 +0200)
committerJens Axboe <axboe@kernel.dk>
Wed, 1 Jul 2020 13:27:24 +0000 (07:27 -0600)
commit48bc54244c4859f0ceb25926e3591f1ee937ef30
tree5c98fe70b250bbb2164bee3eb9e09545089ed65d
parentc0401f2704baee34479b2e1d0ec68f0ad3b60eba
block: refator submit_bio_noacct

Split out a __submit_bio_noacct helper for the actual de-recursion
algorithm, and simplify the loop by using a continue when we can't
enter the queue for a bio.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-core.c