aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--kernel/cgroup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/cgroup.c b/kernel/cgroup.c
index 66d01078eebe..b69b572131e5 100644
--- a/kernel/cgroup.c
+++ b/kernel/cgroup.c
@@ -4494,7 +4494,7 @@ static long cgroup_create(struct cgroup *parent, struct dentry *dentry,
4494 struct cgroup_subsys_state *css = css_ar[ss->subsys_id]; 4494 struct cgroup_subsys_state *css = css_ar[ss->subsys_id];
4495 4495
4496 dget(dentry); 4496 dget(dentry);
4497 percpu_ref_get(&css->parent->refcnt); 4497 css_get(css->parent);
4498 } 4498 }
4499 4499
4500 /* hold a ref to the parent's dentry */ 4500 /* hold a ref to the parent's dentry */