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

From: Linus Torvalds (torvalds@transmeta.com)
Date: Wed Jun 11 2003 - 00:30:10 EST


On Wed, 11 Jun 2003 viro@parcelfarce.linux.theplanet.co.uk wrote:
>
> Two different dentries for the same file is obviously not a problem...

It _is_ a problem. It does the wrong thing on any subsequent directory
operation (move or unlink).

Multiple aliased dentries have never been ok, unless the filesystem
explicitly handles them and invalidates them (ie ntfs/fat kind of things).

                Linus

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



This archive was generated by hypermail 2b29 : Sun Jun 15 2003 - 22:00:27 EST