• Pavel Emelyanov's avatar
    files: Dump NFS silly-rename files as linked-remap always · d47d93b2
    Pavel Emelyanov authored
    We cannot distinguish ghost files from linked-remap for NFS.
    Link count is never 0 on such files and any positive value of
    it doesn't mean, that the file will stay in place after we
    terminate all tasks we dump -- they can hold multiple unlinked
    links on the same file and they all will be delayed-unlined.
    
    Checkinf file path doesn't work as well -- silly-rename files
    remain visible by VFS, though they shouldn't :(
    
    Fortunatelly, NFS allows creation of additional likns on such
    files, so we just create linked remap for such files.
    Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
    d47d93b2
files-reg.c 15.9 KB