Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix hardlink filter regression #198

Merged
merged 1 commit into from
Apr 24, 2024
Merged

Commits on Apr 19, 2024

  1. fix hardlink filter regression

    With the refactor to FilterFS the hardlink handling
    was changed so that the hardlink detection is in a
    separate FS instance and then FilterFS is layered on
    top of it. This means that the file that was the source
    for the hardlink could be filtered out, but the Stat pointing
    to that link is still sent as is.
    
    New function validates if source files are not present in FS
    anymore and correct the linking. It could be better if all
    the FS implementation did this automatically, but there is
    quite a lot of layering going on atm. with multiple layers
    of FilterFS that would all need to keep own hardlink memory,
    so atm. the new function is only called before send.
    
    Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
    tonistiigi committed Apr 19, 2024
    Configuration menu
    Copy the full SHA
    16fccd4 View commit details
    Browse the repository at this point in the history