Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Fri, 12 Jul 2002 14:34:41 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Fri, 12 Jul 2002 14:34:40 -0400 Received: from smtpzilla3.xs4all.nl ([194.109.127.139]:47886 "EHLO smtpzilla3.xs4all.nl") by vger.kernel.org with ESMTP id ; Fri, 12 Jul 2002 14:34:39 -0400 Date: Fri, 12 Jul 2002 20:37:11 +0200 (CEST) From: Roman Zippel X-X-Sender: roman@serv To: Thunder from the hill cc: Roman Zippel , Dawson Engler , Linux Kernel Mailing List , Subject: Re: [CHECKER] 56 potential lock/unlock bugs in 2.5.8 In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 605 Lines: 25 Hi, On Fri, 12 Jul 2002, Thunder from the hill wrote: > You mean > > static inline int affs_rmdir(struct inode *dir, struct dentry *dentry) > { > int res; > lock_kernel(); > res = affs_remove_header(dentry); > unlock_kernel(); > return res; > } lock_kernel isn't required here. Yesterday I went through affs and removed the BKL completely. bye, Roman - 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/