• M
    fuse: nfs export special lookups · 33670fa2
    Miklos Szeredi 提交于
    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: NMiklos 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: NAndrew Morton <akpm@linux-foundation.org>
    Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
    33670fa2
fuse.h 7.1 KB