Skip to content

Commit

Permalink
cgroups: make unlock sequence in cgroup_get_sb consistent
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Xiaotian Feng authored and Linus Torvalds committed Sep 24, 2009
1 parent 55dff49 commit 34f77a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kernel/cgroup.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 34f77a9

Please sign in to comment.