diff options
author | Tejun Heo <tj@kernel.org> | 2012-04-13 22:11:25 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2012-04-20 10:06:06 +0200 |
commit | f48ec1d7885281a9c6cd7779d61f321d1b1fd741 (patch) | |
tree | 87f94a60dae017dc68b76605f76b89031004a7f7 /firmware | |
parent | blkcg: drop BLKCG_STAT_{PRIV|POL|OFF} macros (diff) | |
download | linux-f48ec1d7885281a9c6cd7779d61f321d1b1fd741.tar.xz linux-f48ec1d7885281a9c6cd7779d61f321d1b1fd741.zip |
cfq: fix build breakage & warnings
* 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: Tejun Heo <tj@kernel.org>
Cc: Vivek Goyal <vgoyal@redhat.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'firmware')
0 files changed, 0 insertions, 0 deletions