diff options
Diffstat (limited to 'kernel/cgroup.c')
-rw-r--r-- | kernel/cgroup.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/kernel/cgroup.c b/kernel/cgroup.c index a512a75a5560..8fe8c0cb137b 100644 --- a/kernel/cgroup.c +++ b/kernel/cgroup.c | |||
@@ -2500,7 +2500,6 @@ static int cgroup_rmdir(struct inode *unused_dir, struct dentry *dentry) | |||
2500 | list_del(&cgrp->sibling); | 2500 | list_del(&cgrp->sibling); |
2501 | spin_lock(&cgrp->dentry->d_lock); | 2501 | spin_lock(&cgrp->dentry->d_lock); |
2502 | d = dget(cgrp->dentry); | 2502 | d = dget(cgrp->dentry); |
2503 | cgrp->dentry = NULL; | ||
2504 | spin_unlock(&d->d_lock); | 2503 | spin_unlock(&d->d_lock); |
2505 | 2504 | ||
2506 | cgroup_d_remove_dir(d); | 2505 | cgroup_d_remove_dir(d); |