lkml.org 
[lkml]   [2009]   [Nov]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 0/2] vfs: ensure that dentries are revalidated on open (try #2)
From
Date
On Wed, 11 Nov 2009, Trond Myklebust wrote:
> > Having said that, doing revalidation for proc symlinks and bind mounts
> > (and not just for opens) might make sense. This is something similar
> > to FS_REVAL_DOT, so perhaps make it conditional on this flag (or a
> > new, appropriately named one).
>
> Aren't both proc symlinks and bind mounts pretty much guaranteed to
> point to a valid dentry?

It could for example happen that client bind mounts a regular file,
then the file is unlinked on the server. Then the bind mounted dentry
is no longer valid.

Thanks,
Miklos


\
 
 \ /
  Last update: 2009-11-11 09:37    [W:0.102 / U:0.344 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site