]> www.infradead.org Git - users/hch/misc.git/commit
block: make struct rq_list available for !CONFIG_BLOCK
authorJens Axboe <axboe@kernel.dk>
Fri, 15 Nov 2024 14:14:03 +0000 (07:14 -0700)
committerJens Axboe <axboe@kernel.dk>
Fri, 15 Nov 2024 14:14:03 +0000 (07:14 -0700)
commit957860cbc1dc89f79f2acc193470224e350dfd03
treecd6d2ed7717134a15f3a63ee2e38563ddc999178
parentbda9c7d92f24b693eaf0262c090de4c8c108a28e
block: make struct rq_list available for !CONFIG_BLOCK

A previous commit changed how requests are linked in the plug structure,
but unlike the previous method, it uses a new type for it rather than
struct request. The latter is available even for !CONFIG_BLOCK, while
struct rq_list is now. Move it outside CONFIG_BLOCK.

Reported-by: Nathan Chancellor <nathan@kernel.org>
Fixes: a3396b99990d ("block: add a rq_list type")
Signed-off-by: Jens Axboe <axboe@kernel.dk>
include/linux/blkdev.h