Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Mon, 22 Apr 2002 21:32:03 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Mon, 22 Apr 2002 21:32:02 -0400 Received: from leibniz.math.psu.edu ([146.186.130.2]:14042 "EHLO math.psu.edu") by vger.kernel.org with ESMTP id ; Mon, 22 Apr 2002 21:32:01 -0400 Date: Mon, 22 Apr 2002 21:31:54 -0400 (EDT) From: Alexander Viro To: Andrew Morton cc: Dave Hansen , linux-kernel@vger.kernel.org, Linus Torvalds , "Martin J. Bligh" Subject: Re: locking in sync_old_buffers In-Reply-To: <3CC489CE.19A91699@zip.com.au> 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 On Mon, 22 Apr 2002, Andrew Morton wrote: > Al would know better than I, but... > > If you're going to do this, then the BKL should be acquired > in fs/super.c:write_super(), so the per-fs ->write_super > functions do not see changed external locking rules. Definitely. > Possibly, fs/inode.c:write_inode() needs the same treatment. > But Doc/filesystems/Locking says that lock_kernel() is not > held across ->write_inode so there should be no need to take > it on the kupdate path. It isn't - it had been shifted into the instances back in 2.3. - 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/