Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759635AbZDWTNd (ORCPT ); Thu, 23 Apr 2009 15:13:33 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1758991AbZDWTMY (ORCPT ); Thu, 23 Apr 2009 15:12:24 -0400 Received: from mail-fx0-f158.google.com ([209.85.220.158]:61329 "EHLO mail-fx0-f158.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758909AbZDWTMV (ORCPT ); Thu, 23 Apr 2009 15:12:21 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:from:to:cc:subject:date:message-id:x-mailer:in-reply-to :references; b=pQfuZbGC05EHvIiKXZD8hKXRGRkxe2wnF99NeDuYTwq6H48V6lwE16svw80tNqUcwp Gx034hG/ELo8OLaVdGoiBeFV/8jIGHnk1PCb9kFFgO5ol+Ou4DSRs04uDJUrpQKWPQIq KyGp4bLmLktVIt7zgSletejwNOzpoNQRym/Ug= From: Alessio Igor Bogani To: Ingo Molnar Cc: Jonathan Corbet , =?utf-8?q?Fr=C3=A9d=C3=A9ric=20Weisbecker?= , Peter Zijlstra , LKML , Alexander Viro , LFSDEV , Alessio Igor Bogani Subject: [PATCH 5/5 -tip] vfs: Don-t call umount_begin with BKL held Date: Thu, 23 Apr 2009 21:12:05 +0200 Message-Id: <1240513925-5603-6-git-send-email-abogani@texware.it> X-Mailer: git-send-email 1.6.0.4 In-Reply-To: <1240513925-5603-5-git-send-email-abogani@texware.it> References: <1240513925-5603-1-git-send-email-abogani@texware.it> <1240513925-5603-2-git-send-email-abogani@texware.it> <1240513925-5603-3-git-send-email-abogani@texware.it> <1240513925-5603-4-git-send-email-abogani@texware.it> <1240513925-5603-5-git-send-email-abogani@texware.it> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 808 Lines: 30 Every filesystem should acquire BKL or provide an adeguate locking mechanism. Signed-off-by: Alessio Igor Bogani --- fs/namespace.c | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/fs/namespace.c b/fs/namespace.c index c6f54e4..f046f4b 100644 --- a/fs/namespace.c +++ b/fs/namespace.c @@ -1073,9 +1073,7 @@ static int do_umount(struct vfsmount *mnt, int flags) */ if (flags & MNT_FORCE && sb->s_op->umount_begin) { - lock_kernel(); sb->s_op->umount_begin(sb); - unlock_kernel(); } /* -- 1.6.0.4 -- 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/