Re: [PATCH 0/7] Permit filesystem local caching and NFS superblock sharing [try #13]



Ian Kent <raven@xxxxxxxxxx> wrote:

autofs v4 doesn't rely on mkdir never returning EACCESS just that it
return EEXIST if the directory exists. Never the less if the behavior of
stat will work in this case I'll change v4 to do it the way you suggest
(as v5 does already).

As long as you don't rely on stat...mkdir working. That can go wrong if the
dentry gets booted from the dcache by memory pressure in the "...".

David
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



Relevant Pages

  • [patch 09/14] Use page_cache_xx in fs/libfs.c
    ... generic_fillattr(inode, stat); ... struct page *page, void *fsdata) ... More majordomo info at http://vger.kernel.org/majordomo-info.html ... Please read the FAQ at http://www.tux.org/lkml/ ...
    (Linux-Kernel)
  • [09/37] Use page_cache_xxx in fs/libfs.c
    ... generic_fillattr(inode, stat); ... struct page *page, void *fsdata) ... More majordomo info at http://vger.kernel.org/majordomo-info.html ... Please read the FAQ at http://www.tux.org/lkml/ ...
    (Linux-Kernel)
  • Re: [RFC] Patch to fix cdrom being confused on using kdump
    ... Minor nit: kill the space before stat: ... More majordomo info at http://vger.kernel.org/majordomo-info.html ... Please read the FAQ at http://www.tux.org/lkml/ ...
    (Linux-Kernel)
  • Re: autofs4 hang in 2.6.37-rc1
    ... On 11/15/2010 03:22 PM, Ian Kent wrote: ... error compiling committee.c: ... More majordomo info at http://vger.kernel.org/majordomo-info.html ... Please read the FAQ at http://www.tux.org/lkml/ ...
    (Linux-Kernel)
  • Re: [PATCH 7/7] autofs4 - remove unused ioctls
    ... Ian Kent writes: ... been implemented (as far as I'm aware noone uses them) so remove them. ... More majordomo info at http://vger.kernel.org/majordomo-info.html ... Please read the FAQ at http://www.tux.org/lkml/ ...
    (Linux-Kernel)