diff options
author | Xiaotian Feng <dfeng@redhat.com> | 2009-09-23 15:56:18 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-09-24 07:20:57 -0700 |
commit | 34f77a90f79fca31802c2e942bd73f7f557fe28c (patch) | |
tree | e8f07fe8da83e346029ea7a4d90c1b1039cdef36 /kernel | |
parent | 55dff4954ebdeba2be59e19398a607d799c5fa9f (diff) | |
download | lwn-34f77a90f79fca31802c2e942bd73f7f557fe28c.tar.gz lwn-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 'kernel')
-rw-r--r-- | kernel/cgroup.c | 2 |
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); |