diff options
author | Tejun Heo <tj@kernel.org> | 2015-08-18 23:55:00 +0200 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2015-08-19 00:49:16 +0200 |
commit | 563180a44b7d7978f44e9776eedfbbc550c2398d (patch) | |
tree | 8bed01d551e26f5e6ea845c18eeb36bfac55cb6a /fs/romfs | |
parent | cfq-iosched: fix oom cfq_queue ref leak in cfq_set_request() (diff) | |
download | linux-563180a44b7d7978f44e9776eedfbbc550c2398d.tar.xz linux-563180a44b7d7978f44e9776eedfbbc550c2398d.zip |
cfq-iosched: minor cleanups
* Some were accessing cic->cfqq[] directly. Always use cic_to_cfqq()
and cic_set_cfqq().
* check_ioprio_changed() doesn't need to verify cfq_get_queue()'s
return for NULL. It's always non-NULL. Simplify accordingly.
This patch doesn't cause any functional changes.
Signed-off-by: Tejun Heo <tj@kernel.org>
Acked-by: Jeff Moyer <jmoyer@redhat.com>
Cc: Vivek Goyal <vgoyal@redhat.com>
Cc: Arianna Avanzini <avanzini.arianna@gmail.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'fs/romfs')
0 files changed, 0 insertions, 0 deletions