Re: [PATCH] nfs_unlink() race (was: nfs_refresh_inode: inode number mismatch)

Frank Cusack (fcusack@fcusack.com)
Tue, 10 Jun 2003 19:50:05 -0700


On Tue, Jun 10, 2003 at 07:43:33PM -0700, Frank Cusack wrote:
> On Wed, Jun 11, 2003 at 03:27:54AM +0100, viro@parcelfarce.linux.theplanet.co.uk wrote:
> > The real problem is different: what happens if I take
> > silly-renamed file and rename it away? You suddenly get ->dir and
> > ->dentry if your nfs_unlinkdata having nothing to do with each other.

Wow, it's clear to me now :-) that this is another place I'm seeing NFS
problems.

> You could disallow rename if DCACHE_NFSFS_RENAMED is set. That would
...

> OK, where else besides rename would the dentry change?

I can answer this myself: link. (Is that correct?) Anywhere else?

/fc
-
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/