From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthew Wilcox Subject: Re: [PATCH] Shift BKL into ->statfs() Date: Wed, 3 Jul 2002 13:28:48 +0100 Sender: linux-fsdevel-owner@vger.kernel.org Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Alexander Viro , torvalds@transmeta.com, linux-fsdevel@ensim.com, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Return-path: To: Paul Menage Content-Disposition: inline In-Reply-To: ; from pmenage@ensim.com on Wed, Jul 03, 2002 at 12:57:56AM -0700 List-Id: linux-fsdevel.vger.kernel.org On Wed, Jul 03, 2002 at 12:57:56AM -0700, Paul Menage wrote: > All ->statfs() implementations have been modified to take the BKL, > except for the following: > > - those that don't reference any external mutable data: ... also adfs_statfs, > - those that already have their own locking: ... also affs_statfs, bfs_statfs, ext3_statfs, hfs_statfs, jffs2_statfs, jfs_statfs I think ufs_statfs needs lock_super() due to its handling of fragments. qnx4 looks terribly broken for read-write anyway... probably just keep the lock_kernel / unlock_kernel around the call to qnx4_count_free_blocks(). I haven't audited coda, hpfs, jffs, nfs, smbfs & udf. -- Revolutions do not require corporate support.