diff options
author | Tejun Heo <tj@kernel.org> | 2019-10-15 08:49:27 -0700 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2019-10-15 10:13:13 -0600 |
commit | 307f4065b9d7c1e887e8bdfb2487e4638559fea1 (patch) | |
tree | 484ebf28578ff8532703c1b8d47b37f00120b052 /drivers/ata | |
parent | blkcg: Fix multiple bugs in blkcg_activate_policy() (diff) | |
download | linux-dev-307f4065b9d7c1e887e8bdfb2487e4638559fea1.tar.xz linux-dev-307f4065b9d7c1e887e8bdfb2487e4638559fea1.zip |
blk-rq-qos: fix first node deletion of rq_qos_del()
rq_qos_del() incorrectly assigns the node being deleted to the head if
it was the first on the list in the !prev path. Fix it by iterating
with ** instead.
Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: Josef Bacik <josef@toxicpanda.com>
Fixes: a79050434b45 ("blk-rq-qos: refactor out common elements of blk-wbt")
Cc: stable@vger.kernel.org # v4.19+
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/ata')
0 files changed, 0 insertions, 0 deletions