Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 34f77a90 authored by Xiaotian Feng's avatar Xiaotian Feng Committed by Linus Torvalds
Browse files

cgroups: make unlock sequence in cgroup_get_sb consistent



Make the last unlock sequence consistent with previous unlock sequeue.

Acked-by: default avatarBalbir Singh <balbir@linux.vnet.ibm.com>
Acked-by: default avatarPaul Menage <menage@google.com>
Signed-off-by: default avatarXiaotian Feng <dfeng@redhat.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 55dff495
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);