lkml.org 
[lkml]   [2003]   [Jun]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
SubjectRe: [PATCH] nfs_unlink() race (was: nfs_refresh_inode: inode number mismatch)
From
>>>>> " " == Frank Cusack <fcusack@fcusack.com> writes:

> On Wed, Jun 11, 2003 at 08:26:52PM +0200, Trond Myklebust
> wrote:
>> diff -u --recursive --new-file linux-2.4.21-rc6/fs/namei.c
>> linux/fs/namei.c
>> --- linux-2.4.21-rc6/fs/namei.c 2002-12-30 09:39:54.000000000
>> -0800
>> +++ linux/fs/namei.c 2003-06-11 11:16:49.000000000 -0700
>> @@ -633,7 +633,8 @@
>> * Check the cached dentry for staleness.
>> */ dentry = nd->dentry;
>> - if (dentry && dentry->d_op && dentry->d_op->d_revalidate) {

> Doesn't the above simply always revalidate?

That's the whole problem in a nutshell. Read the thread...
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/

\
 
 \ /
  Last update: 2005-03-22 13:36    [W:0.074 / U:13.196 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site