projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
55dff49
)
cgroups: make unlock sequence in cgroup_get_sb consistent
author
Xiaotian Feng
<
[email protected]
>
Wed, 23 Sep 2009 22:56:18 +0000
(15:56 -0700)
committer
Linus Torvalds
<
[email protected]
>
Thu, 24 Sep 2009 14:20:57 +0000
(07:20 -0700)
Make the last unlock sequence consistent with previous unlock sequeue.
Acked-by: Balbir Singh <
[email protected]
>
Acked-by: Paul Menage <
[email protected]
>
Signed-off-by: Xiaotian Feng <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
kernel/cgroup.c
patch
|
blob
|
history
diff --git
a/kernel/cgroup.c
b/kernel/cgroup.c
index cd83d9933b6b85cd05bf6db17f424056d2d504fc..f5281aadbcabe15ca1af2a12f55787b707f67421 100644
(file)
--- 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);