aboutsummaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorJosef Bacik2011-04-25 19:43:52 -0400
committerChris Mason2011-04-25 19:43:52 -0400
commita4f0162fd4490daf2c823c185fff79080d266a7c (patch)
treec2a7186103a4b31115eb10555864620a46a18ad9 /Documentation
parentf789b684bdb96e7ec2fce79445555d4fd55fb94c (diff)
Btrfs: free bitmaps properly when evicting the cache
If our space cache is wrong, we do the right thing and free up everything that we loaded, however we don't reset the total_bitmaps counter or the thresholds or anything. So in btrfs_remove_free_space_cache make sure to call free_bitmap() if it's a bitmap, this will keep us from panicing when we check to make sure we don't have too many bitmaps. Thanks, Signed-off-by: Josef Bacik <josef@redhat.com> Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions