block: inline a part of bio_release_pages()
authorPavel Begunkov <asml.silence@gmail.com>
Tue, 19 Oct 2021 21:24:14 +0000 (22:24 +0100)
committerJens Axboe <axboe@kernel.dk>
Wed, 20 Oct 2021 14:08:07 +0000 (08:08 -0600)
commitc809084ab033a8d4ee404e2ac3c5d3dc80cb65f7
tree67fa1fdc8cdd25c8f5ba1d59ee02b5b0ae6038c7
parent1497a51a3287959a9eb74e0432203ba3e2dc7347
block: inline a part of bio_release_pages()

Inline BIO_NO_PAGE_REF check of bio_release_pages() to avoid function
call.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/bio.c
include/linux/bio.h