git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b226e5c
)
blkcg: fix minor bug in blkg_alloc()
author
Tejun Heo
<tj@kernel.org>
Wed, 9 Jan 2013 16:05:10 +0000
(08:05 -0800)
committer
Tejun Heo
<tj@kernel.org>
Wed, 9 Jan 2013 16:05:10 +0000
(08:05 -0800)
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>
block/blk-cgroup.c
patch
|
blob
|
history
diff --cc
block/blk-cgroup.c
Simple merge