• T
    cfq: fix build breakage & warnings · f48ec1d7
    Tejun Heo 提交于
    * CFQ_WEIGHT_* defined inside CONFIG_BLK_CGROUP causes cfq-iosched.c
      compile failure when the config is disabled.  Move it outside the
      ifdef block.
    
    * Dummy cfqg_stats_*() definitions were lacking inline modifiers
      causing unused functions warning if !CONFIG_CFQ_GROUP_IOSCHED.  Add
      them.
    Signed-off-by: NTejun Heo <tj@kernel.org>
    Cc: Vivek Goyal <vgoyal@redhat.com>
    Signed-off-by: NJens Axboe <axboe@kernel.dk>
    f48ec1d7
blk-cgroup.h 9.8 KB