aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/cgroup.c
diff options
context:
space:
mode:
authorXiaotian Feng <dfeng@redhat.com>2009-09-23 18:56:18 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2009-09-24 10:20:57 -0400
commit34f77a90f79fca31802c2e942bd73f7f557fe28c (patch)
treee8f07fe8da83e346029ea7a4d90c1b1039cdef36 /kernel/cgroup.c
parent55dff4954ebdeba2be59e19398a607d799c5fa9f (diff)
cgroups: make unlock sequence in cgroup_get_sb consistent
Make the last unlock sequence consistent with previous unlock sequeue. Acked-by: Balbir Singh <balbir@linux.vnet.ibm.com> Acked-by: Paul Menage <menage@google.com> Signed-off-by: Xiaotian Feng <dfeng@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
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 cd83d9933b6b..f5281aadbcab 100644
--- a/kernel/cgroup.c
+++ b/kernel/cgroup.c
@@ -1155,8 +1155,8 @@ static int cgroup_get_sb(struct file_system_type *fs_type,
1155 BUG_ON(root->number_of_cgroups != 1); 1155 BUG_ON(root->number_of_cgroups != 1);
1156 1156
1157 cgroup_populate_dir(root_cgrp); 1157 cgroup_populate_dir(root_cgrp);
1158 mutex_unlock(&inode->i_mutex);
1159 mutex_unlock(&cgroup_mutex); 1158 mutex_unlock(&cgroup_mutex);
1159 mutex_unlock(&inode->i_mutex);
1160 } 1160 }
1161 1161
1162 simple_set_mnt(mnt, sb); 1162 simple_set_mnt(mnt, sb);