Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262584AbTFKPkF (ORCPT ); Wed, 11 Jun 2003 11:40:05 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262589AbTFKPkF (ORCPT ); Wed, 11 Jun 2003 11:40:05 -0400 Received: from pc2-cwma1-4-cust86.swan.cable.ntl.com ([213.105.254.86]:4268 "EHLO lxorguk.ukuu.org.uk") by vger.kernel.org with ESMTP id S262584AbTFKPkA (ORCPT ); Wed, 11 Jun 2003 11:40:00 -0400 Subject: Re: [PATCH] nfs_unlink() race (was: nfs_refresh_inode: inode number mismatch) From: Alan Cox To: Linus Torvalds Cc: viro@parcelfarce.linux.theplanet.co.uk, Frank Cusack , Trond Myklebust , Marcelo Tosatti , lkml In-Reply-To: References: Content-Type: text/plain Content-Transfer-Encoding: 7bit Organization: Message-Id: <1055346664.2420.5.camel@dhcp22.swansea.linux.org.uk> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.2 (1.2.2-5) Date: 11 Jun 2003 16:51:04 +0100 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 660 Lines: 20 On Mer, 2003-06-11 at 16:08, Linus Torvalds wrote: > > cd foo > > mv ../file . > > more file > > > > ESTALE. > > Yes, VFAT ends up encoding the parent directory in the FH, so renaming > will invalidate the old file handle, and if you cache inodes (and thus > filehandles) over a directory move, badness happens. > > Arguably it's a NFS client problem No no - this happens on LOCAL disk. No NFS needed at all. - 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/