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 1864cb6a6a59..9f41470c3949 100644
--- a/kernel/cgroup.c
+++ b/kernel/cgroup.c
@@ -887,7 +887,7 @@ static void cgroup_clear_directory(struct dentry *dentry)
887 /* This should never be called on a cgroup 887 /* This should never be called on a cgroup
888 * directory with child cgroups */ 888 * directory with child cgroups */
889 BUG_ON(d->d_inode->i_mode & S_IFDIR); 889 BUG_ON(d->d_inode->i_mode & S_IFDIR);
890 dget_locked_dlock(d); 890 dget_dlock(d);
891 spin_unlock(&d->d_lock); 891 spin_unlock(&d->d_lock);
892 spin_unlock(&dentry->d_lock); 892 spin_unlock(&dentry->d_lock);
893 d_delete(d); 893 d_delete(d);