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

Linus Torvalds (torvalds@transmeta.com)
Tue, 10 Jun 2003 22:30:10 -0700 (PDT)


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/