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

From: Trond Myklebust (
Date: Mon Jun 09 2003 - 19:01:26 EST

>>>>> " " == Frank Cusack <> writes:

> On Mon, Jun 09, 2003 at 06:40:43PM +0200, Trond Myklebust
> wrote:
>> If people prefer 'rm -rf' correctness instead of
>> unlinked-but-open, then we could do that by changing the
>> behaviour of 'unlink' on a silly-deleted filed. Currently it
>> returns EBUSY, but we could just as well have it complete the
>> unlink, and mark the inode as being stale...

> Actually, *currently* it unlinks. :-) That's the problem.

No. The problem is that it aliases the dentry, and so it unlinks

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

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