[lkml]   [2005]   [Oct]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] nfs: don't drop dentry in d_revalidate
> > NFS d_revalidate() is doing things that are supposed to be done by
> > d_invalidate().
> >
> > Dropping the dentry is especially bad, since it will make
> > d_invalidate() bypass all checks.
> NAK!
> Bypassing the stupid d_invalidate checks is precisely the point here.
> Unlike local filesystems, we have to deal with the case where someone
> deletes a file on the server and then creates a new one with the same
> name. The d_invalidate checks will keep the wrong dentry hashed for as
> long as some borken process has the file open.

d_invalidate() only makes sense for network filesystems like NFS. If
it's broken, fix it. But bypassing it is definitely the wrong thing
to do.

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

 \ /
  Last update: 2005-10-07 16:09    [W:0.037 / U:0.232 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site