From: Tejun Heo Date: Wed, 9 Jan 2013 16:05:10 +0000 (-0800) Subject: blkcg: fix minor bug in blkg_alloc() X-Git-Tag: v3.9-rc1~44^2~12^2~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=356d2e581032b686da0854c7f17de2027c872762;p=pandora-kernel.git blkcg: fix minor bug in blkg_alloc() blkg_alloc() was mistakenly checking blkcg_policy_enabled() twice. The latter test should have been on whether pol->pd_init_fn() exists. This doesn't cause actual problems because both blkcg policies implement pol->pd_init_fn(). Fix it. Signed-off-by: Tejun Heo Acked-by: Vivek Goyal --- Reading git-diff-tree failed