Commit f78507c1 authored by Jens Axboe's avatar Jens Axboe Committed by Greg Kroah-Hartman
Browse files

block: make struct rq_list available for !CONFIG_BLOCK



commit 957860cb upstream.

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: default avatarNathan Chancellor <nathan@kernel.org>
Fixes: a3396b99 ("block: add a rq_list type")
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 473c5347
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment