From: Tejun Heo Date: Fri, 13 Apr 2012 20:11:25 +0000 (-0700) Subject: cfq: fix build breakage & warnings X-Git-Tag: v3.5-rc1~42^2~23 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f48ec1d7885281a9c6cd7779d61f321d1b1fd741;p=pandora-kernel.git 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 Cc: Vivek Goyal Signed-off-by: Jens Axboe --- Reading git-diff-tree failed