]> git.baikalelectronics.ru Git - kernel.git/commit
cfq-iosched: fix other locations where blkcg_to_cfqgd() can return NULL
authorJens Axboe <axboe@fb.com>
Sat, 20 Jun 2015 16:26:50 +0000 (10:26 -0600)
committerJens Axboe <axboe@fb.com>
Sat, 20 Jun 2015 16:26:50 +0000 (10:26 -0600)
commit1838070c58784db3124b108c8f8db2584ee2ebf0
tree4f8f4de062db1d65af8480f2d04414b16aa2e168
parentd4872179735aa213b64f9b5a7f3679fa0050b01a
cfq-iosched: fix other locations where blkcg_to_cfqgd() can return NULL

Commit d4872179735a only covered the initial bug report, there are
other spots in CFQ where we need to check that we actually have
a valid cfq_group_data structure.

Fixes: 426107b9 ("block, cgroup: implement policy-specific per-blkcg data")
Signed-off-by: Jens Axboe <axboe@fb.com>
block/cfq-iosched.c