Skip to content
  • Miklos Szeredi's avatar
    fuse: nfs export special lookups · 33670fa2
    Miklos Szeredi authored
    
    
    Implement the get_parent export operation by sending a LOOKUP request with
    ".." as the name.
    
    Implement looking up an inode by node ID after it has been evicted from
    the cache.  This is done by seding a LOOKUP request with "." as the name
    (for all file types, not just directories).
    
    The filesystem can set the FUSE_EXPORT_SUPPORT flag in the INIT reply, to
    indicate that it supports these special lookups.
    
    Thanks to John Muir for the original implementation of this feature.
    
    Signed-off-by: default avatarMiklos Szeredi <mszeredi@suse.cz>
    Cc: "J. Bruce Fields" <bfields@fieldses.org>
    Cc: Trond Myklebust <trond.myklebust@fys.uio.no>
    Cc: Matthew Wilcox <matthew@wil.cx>
    Cc: David Teigland <teigland@redhat.com>
    Cc: Christoph Hellwig <hch@lst.de>
    Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
    33670fa2