Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 311732
b: refs/heads/master
c: 5db9a4d
h: refs/heads/master
v: v3
  • Loading branch information
Tejun Heo committed Jul 7, 2012
1 parent f2662fd commit 3d480b0
Show file tree
Hide file tree
Showing 2 changed files with 6 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: 7db5b3ca0ecdb2e8fad52a4770e4e320e61c77a6
refs/heads/master: 5db9a4d99b0157a513944e9a44d29c9cec2e91dc
6 changes: 5 additions & 1 deletion trunk/kernel/cgroup.c
Original file line number Diff line number Diff line change
Expand Up @@ -3883,8 +3883,12 @@ static void css_dput_fn(struct work_struct *work)
{
struct cgroup_subsys_state *css =
container_of(work, struct cgroup_subsys_state, dput_work);
struct dentry *dentry = css->cgroup->dentry;
struct super_block *sb = dentry->d_sb;

dput(css->cgroup->dentry);
atomic_inc(&sb->s_active);
dput(dentry);
deactivate_super(sb);
}

static void init_cgroup_css(struct cgroup_subsys_state *css,
Expand Down

0 comments on commit 3d480b0

Please sign in to comment.