Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 232981
b: refs/heads/master
c: 70b7da3
h: refs/heads/master
i:
  232979: a8fbbdb
v: v3
  • Loading branch information
Li Zefan committed Jan 26, 2011
1 parent c3d1980 commit d49ad77
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: edf6e2d1ddbac7f326b34a27adbca71ece53ccce
refs/heads/master: 70b7da304f9f9bbf1566085155895e32e775a745
2 changes: 2 additions & 0 deletions trunk/fs/btrfs/free-space-cache.c
Original file line number Diff line number Diff line change
Expand Up @@ -1788,6 +1788,8 @@ static u64 btrfs_alloc_from_bitmap(struct btrfs_block_group_cache *block_group,

ret = search_start;
bitmap_clear_bits(block_group, entry, ret, bytes);
if (entry->bytes == 0)
free_bitmap(block_group, entry);
out:
spin_unlock(&cluster->lock);
spin_unlock(&block_group->tree_lock);
Expand Down

0 comments on commit d49ad77

Please sign in to comment.