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

btrfs: close btrfs.FS handle after use #2780

Merged
merged 1 commit into from
Aug 21, 2023

Commits on Aug 18, 2023

  1. btrfs: close btrfs.FS handle after use

    Despite being quite hard to provoke (< 10% in my testing), the btrfs
    collector would occasionally leave stale FDs relating to btrfs
    mountpoints, making the filesystems unable to be unmounted.
    
    Fixes: prometheus#2772.
    
    Signed-off-by: Daniel Swarbrick <daniel.swarbrick@gmail.com>
    dswarbrick committed Aug 18, 2023
    Configuration menu
    Copy the full SHA
    9250b3e View commit details
    Browse the repository at this point in the history