Commit 34f77a90f79fca31802c2e942bd73f7f557fe28c

Authored by Xiaotian Feng
Committed by Linus Torvalds
1 parent 55dff4954e

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>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

... ... @@ -1155,8 +1155,8 @@
1155 1155 BUG_ON(root->number_of_cgroups != 1);
1156 1156  
1157 1157 cgroup_populate_dir(root_cgrp);
1158   - mutex_unlock(&inode->i_mutex);
1159 1158 mutex_unlock(&cgroup_mutex);
  1159 + mutex_unlock(&inode->i_mutex);
1160 1160 }
1161 1161  
1162 1162 simple_set_mnt(mnt, sb);