aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/cgroup.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/cgroup.c')
-rw-r--r--kernel/cgroup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/cgroup.c b/kernel/cgroup.c
index dec62f5936ef..a56805aa0f1b 100644
--- a/kernel/cgroup.c
+++ b/kernel/cgroup.c
@@ -959,7 +959,7 @@ static int cgroup_rm_file(struct cgroup *cgrp, const struct cftype *cft)
959 959
960 dget(d); 960 dget(d);
961 d_delete(d); 961 d_delete(d);
962 simple_unlink(d->d_inode, d); 962 simple_unlink(cgrp->dentry->d_inode, d);
963 list_del_init(&cfe->node); 963 list_del_init(&cfe->node);
964 dput(d); 964 dput(d);
965 965