diff options
author | Tejun Heo <tj@kernel.org> | 2013-01-09 08:05:10 -0800 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2013-01-09 08:05:10 -0800 |
commit | 356d2e581032b686da0854c7f17de2027c872762 (patch) | |
tree | c3c10018d5856523ba6a8a3816b433a1b5214412 /crypto/testmgr.h | |
parent | b226e5c411759eec29308f0ea38e918aa695dc7f (diff) | |
download | linux-stable-356d2e581032b686da0854c7f17de2027c872762.tar.gz linux-stable-356d2e581032b686da0854c7f17de2027c872762.tar.bz2 linux-stable-356d2e581032b686da0854c7f17de2027c872762.zip |
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 <tj@kernel.org>
Acked-by: Vivek Goyal <vgoyal@redhat.com>
Diffstat (limited to 'crypto/testmgr.h')
0 files changed, 0 insertions, 0 deletions