Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754743AbZKBKJx (ORCPT ); Mon, 2 Nov 2009 05:09:53 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754542AbZKBKHV (ORCPT ); Mon, 2 Nov 2009 05:07:21 -0500 Received: from cantor2.suse.de ([195.135.220.15]:58538 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754398AbZKBKHE (ORCPT ); Mon, 2 Nov 2009 05:07:04 -0500 From: Jan Blunck To: linux-fsdevel@vger.kernel.org Cc: Matthew Wilcox , linux-kernel@vger.kernel.org, Jan Blunck , "Sergey S. Kostyliov" , Al Viro , Andrew Morton , Alexey Dobriyan , Greg Kroah-Hartman Subject: [PATCH 11/27] BKL: Remove BKL from befs Date: Mon, 2 Nov 2009 11:04:51 +0100 Message-Id: <1257156307-24175-12-git-send-email-jblunck@suse.de> X-Mailer: git-send-email 1.6.4.2 In-Reply-To: <1257156307-24175-1-git-send-email-jblunck@suse.de> References: <1257156307-24175-1-git-send-email-jblunck@suse.de> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1217 Lines: 44 BKL is only used in fill_super. It is safe to remove it. Signed-off-by: Jan Blunck --- fs/befs/linuxvfs.c | 4 ---- 1 files changed, 0 insertions(+), 4 deletions(-) diff --git a/fs/befs/linuxvfs.c b/fs/befs/linuxvfs.c index f2aa193..33baf27 100644 --- a/fs/befs/linuxvfs.c +++ b/fs/befs/linuxvfs.c @@ -759,8 +759,6 @@ befs_fill_super(struct super_block *sb, void *data, int silent) const unsigned long sb_block = 0; const off_t x86_sb_off = 512; - lock_kernel(); - save_mount_options(sb, data); sb->s_fs_info = kmalloc(sizeof (*befs_sb), GFP_KERNEL); @@ -869,7 +867,6 @@ befs_fill_super(struct super_block *sb, void *data, int silent) befs_sb->nls = load_nls_default(); } - unlock_kernel(); return 0; /*****************/ unacquire_bh: @@ -880,7 +877,6 @@ befs_fill_super(struct super_block *sb, void *data, int silent) unacquire_none: sb->s_fs_info = NULL; - unlock_kernel(); return ret; } -- 1.6.4.2 -- 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/