Re: [PATCH v2 resend] vfs: new O_NODE open flag

From: Miklos Szeredi
Date: Fri Nov 06 2009 - 06:11:09 EST

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.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at