aboutsummaryrefslogtreecommitdiffstats
path: root/block/blk-cgroup.c
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2012-11-05 12:21:51 -0500
committerTejun Heo <tj@kernel.org>2012-11-05 12:21:51 -0500
commit1db1e31b1ee3ae126ef98f39083b5f213c7b41bf (patch)
tree98328124d3b8b08b6db894c79d0e79b3a42417bf /block/blk-cgroup.c
parent5d8f72b55c275677865de670fa147ed318191d81 (diff)
parentbcf6de1b9129531215d26dd9af8331e84973bc52 (diff)
Merge branch 'cgroup-rmdir-updates' into cgroup/for-3.8
Pull rmdir updates into for-3.8 so that further callback updates can be put on top. This pull created a trivial conflict between the following two commits. 8c7f6edbda ("cgroup: mark subsystems with broken hierarchy support and whine if cgroups are nested for them") ed95779340 ("cgroup: kill cgroup_subsys->__DEPRECATED_clear_css_refs") The former added a field to cgroup_subsys and the latter removed one from it. They happen to be colocated causing the conflict. Keeping what's added and removing what's removed resolves the conflict. Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'block/blk-cgroup.c')
-rw-r--r--block/blk-cgroup.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/block/blk-cgroup.c b/block/blk-cgroup.c
index cafcd7431189..6ce36ff98a41 100644
--- a/block/blk-cgroup.c
+++ b/block/blk-cgroup.c
@@ -600,7 +600,7 @@ struct cftype blkcg_files[] = {
600 * 600 *
601 * This is the blkcg counterpart of ioc_release_fn(). 601 * This is the blkcg counterpart of ioc_release_fn().
602 */ 602 */
603static int blkcg_pre_destroy(struct cgroup *cgroup) 603static void blkcg_pre_destroy(struct cgroup *cgroup)
604{ 604{
605 struct blkcg *blkcg = cgroup_to_blkcg(cgroup); 605 struct blkcg *blkcg = cgroup_to_blkcg(cgroup);
606 606
@@ -622,7 +622,6 @@ static int blkcg_pre_destroy(struct cgroup *cgroup)
622 } 622 }
623 623
624 spin_unlock_irq(&blkcg->lock); 624 spin_unlock_irq(&blkcg->lock);
625 return 0;
626} 625}
627 626
628static void blkcg_destroy(struct cgroup *cgroup) 627static void blkcg_destroy(struct cgroup *cgroup)