• Josef Bacik's avatar
    Btrfs: cleanup fs roots if we fail to mount · 171f6537
    Josef Bacik authored
    We can run the tree logging recovery or the orphan cleanup on mount, so we'll
    end up looking up a random fs tree in the meantime.  So we need to clean this up
    so we don't leave extent buffers hanging around on the cache.  With this patch
    we no longer leak extent buffers on failure to mount.  Thanks,
    Signed-off-by: default avatarJosef Bacik <jbacik@fusionio.com>
    171f6537
disk-io.c 107 KB