summaryrefslogtreecommitdiffstats
path: root/kernel/cgroup.c
diff options
context:
space:
mode:
authorXiaotian Feng <dfeng@redhat.com>2009-09-24 00:56:18 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2009-09-24 16:20:57 +0200
commit34f77a90f79fca31802c2e942bd73f7f557fe28c (patch)
treee8f07fe8da83e346029ea7a4d90c1b1039cdef36 /kernel/cgroup.c
parentdocs: fix various Documentation/ paths in header files (diff)
downloadlinux-34f77a90f79fca31802c2e942bd73f7f557fe28c.tar.xz
linux-34f77a90f79fca31802c2e942bd73f7f557fe28c.zip
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 '')
-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,
BUG_ON(root->number_of_cgroups != 1);
cgroup_populate_dir(root_cgrp);
- mutex_unlock(&inode->i_mutex);
mutex_unlock(&cgroup_mutex);
+ mutex_unlock(&inode->i_mutex);
}
simple_set_mnt(mnt, sb);