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

Trond Myklebust (trond.myklebust@fys.uio.no)
Wed, 11 Jun 2003 19:37:53 +0200


>>>>> " " == Alan Cox <alan@lxorguk.ukuu.org.uk> writes:

> I've seen it on early 2.5 and on 2.4, current 2.5.x seems to be
> ok from a quick test.

2.4 has the 'return ESTALE if current dir fails d_revalidate()'
test. Looks like the vfat stuff has the same problem that

Sigh... Can we perhaps add FS_ALWAYS_REVAL in order to flag what kind
of behaviour filesystems expect in link_path_walk()? NFS needs
revalidation on all open() calls (including opendir(".")), so removing
the ESTALE code is not an option.

Cheers,
Trond
-
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/