summaryrefslogtreecommitdiff
path: root/kernel/context_tracking.c
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2019-10-15 08:49:27 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-10-29 09:20:09 +0100
commit054441182b51beca00f0c639b0119a1995143772 (patch)
treec1f9e30a37ee15118017cd8a2d5319f50c107896 /kernel/context_tracking.c
parent2ada40308a0db8332ede32e274c54a08efe7ff52 (diff)
blk-rq-qos: fix first node deletion of rq_qos_del()
commit 307f4065b9d7c1e887e8bdfb2487e4638559fea1 upstream. 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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'kernel/context_tracking.c')
0 files changed, 0 insertions, 0 deletions