Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 339362
b: refs/heads/master
c: 879a3d9
h: refs/heads/master
v: v3
  • Loading branch information
Gao feng authored and Tejun Heo committed Nov 30, 2012
1 parent 7e826d2 commit 854b1fa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 1f869e8711d18aaf6e2979922bc9377ad394b82f
refs/heads/master: 879a3d9dbbde823ac77d39131e7a287f31b8296f
4 changes: 3 additions & 1 deletion trunk/kernel/cgroup.c
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,8 @@ static DEFINE_SPINLOCK(hierarchy_id_lock);
static int need_forkexit_callback __read_mostly;

static int cgroup_destroy_locked(struct cgroup *cgrp);
static int cgroup_addrm_files(struct cgroup *cgrp, struct cgroup_subsys *subsys,
struct cftype cfts[], bool is_add);

#ifdef CONFIG_PROVE_LOCKING
int cgroup_lock_is_held(void)
Expand Down Expand Up @@ -964,7 +966,7 @@ static void cgroup_clear_directory(struct dentry *dir, bool base_files,
if (!test_bit(ss->subsys_id, &subsys_mask))
continue;
list_for_each_entry(set, &ss->cftsets, node)
cgroup_rm_file(cgrp, set->cfts);
cgroup_addrm_files(cgrp, NULL, set->cfts, false);
}
if (base_files) {
while (!list_empty(&cgrp->files))
Expand Down

0 comments on commit 854b1fa

Please sign in to comment.