Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754322AbZGVCba (ORCPT ); Tue, 21 Jul 2009 22:31:30 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752387AbZGVCba (ORCPT ); Tue, 21 Jul 2009 22:31:30 -0400 Received: from mx2.redhat.com ([66.187.237.31]:59956 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751942AbZGVCb3 (ORCPT ); Tue, 21 Jul 2009 22:31:29 -0400 From: Xiaotian Feng To: akpm@linux-foundation.org Cc: containers@lists.linux-foundation.org, linux-kernel@vger.kernel.org, Xiaotian Feng Subject: [PATCH] cgroup: make unlock sequence in cgroup_get_sb consistent Date: Wed, 22 Jul 2009 10:31:22 +0800 Message-Id: <1248229882-21508-1-git-send-email-dfeng@redhat.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 966 Lines: 31 Make the last unlock sequence consistent with previous unlock sequeue. Acked-by: Balbir Singh Acked-by: Paul Menage Signed-off-by: Xiaotian Feng --- kernel/cgroup.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/kernel/cgroup.c b/kernel/cgroup.c index 3737a68..11ef162 100644 --- a/kernel/cgroup.c +++ b/kernel/cgroup.c @@ -1140,8 +1140,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); -- 1.6.2.5 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/