Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756413AbZKFLK6 (ORCPT ); Fri, 6 Nov 2009 06:10:58 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755289AbZKFLK5 (ORCPT ); Fri, 6 Nov 2009 06:10:57 -0500 Received: from fxip-0047f.externet.hu ([88.209.222.127]:43726 "EHLO pomaz-ex.szeredi.hu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755089AbZKFLK4 (ORCPT ); Fri, 6 Nov 2009 06:10:56 -0500 To: Alan Cox CC: miklos@szeredi.hu, miklos@szeredi.hu, akpm@linux-foundation.org, viro@ZenIV.linux.org.uk, dhowells@redhat.com, hch@infradead.org, adilger@sun.com, mtk.manpages@gmail.com, torvalds@linux-foundation.org, drepper@gmail.com, jamie@shareable.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org In-reply-to: <20091105182548.07ca4bff@lxorguk.ukuu.org.uk> (message from Alan Cox on Thu, 5 Nov 2009 18:25:48 +0000) Subject: Re: [PATCH v2 resend] vfs: new O_NODE open flag References: <20091105131545.72b4e319@lxorguk.ukuu.org.uk> <20091105145054.11f36b35@lxorguk.ukuu.org.uk> <20091105155648.4329f5b7@lxorguk.ukuu.org.uk> <20091105182548.07ca4bff@lxorguk.ukuu.org.uk> Message-Id: From: Miklos Szeredi Date: Fri, 06 Nov 2009 12:10:21 +0100 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 737 Lines: 24 On Thu, 5 Nov 2009, Alan Cox wrote: > > open O_RDONLY > > remote file moves > > new one appears > > fstat > > > > What's the difference? > > CIFS in the second case gets a handle to the remote object I believe. NFS > certainly gets it right. There's no f_op->fgetattr(), just i_op->getattr(). NFS gets it right, but NFSD is in the kernel and it can juggle with looking up the inode by its number (for certain filesystems), something CIFS is unlikely to be able to do. Thanks, Miklos -- 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/