• T
    fuse: add file kernel handle · acf99433
    Tejun Heo 提交于
    The file handle, fuse_file->fh, is opaque value supplied by userland
    FUSE server and uniqueness is not guaranteed.  Add file kernel handle,
    fuse_file->kh, which is allocated by the kernel on file allocation and
    guaranteed to be unique.
    
    This will be used by poll to match notification to the respective file
    but can be used for other purposes where unique file handle is
    necessary.
    Signed-off-by: NTejun Heo <tj@kernel.org>
    Signed-off-by: NMiklos Szeredi <mszeredi@suse.cz>
    acf99433
inode.c 24.4 KB