• T
    cfq-iosched: minor cleanups · 563180a4
    Tejun Heo 提交于
    * 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: NTejun Heo <tj@kernel.org>
    Acked-by: NJeff Moyer <jmoyer@redhat.com>
    Cc: Vivek Goyal <vgoyal@redhat.com>
    Cc: Arianna Avanzini <avanzini.arianna@gmail.com>
    Signed-off-by: NJens Axboe <axboe@fb.com>
    563180a4
cfq-iosched.c 122.0 KB