Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 274679
b: refs/heads/master
c: 1eae31e
h: refs/heads/master
i:
  274677: 98d7868
  274675: 8d1ffc0
  274671: d57bc77
v: v3
  • Loading branch information
Chris Mason committed Nov 6, 2011
1 parent c699eef commit 1f65418
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: cd354ad613a393424f85333ceed6b15e07fb94ae
refs/heads/master: 1eae31e918972bbeefc119d23c1d67674f49a301
4 changes: 3 additions & 1 deletion trunk/fs/btrfs/free-space-cache.c
Original file line number Diff line number Diff line change
Expand Up @@ -1868,14 +1868,16 @@ int btrfs_remove_free_space(struct btrfs_block_group_cache *block_group,
ctl->total_bitmaps--;
}
kmem_cache_free(btrfs_free_space_cachep, info);
ret = 0;
goto out_lock;
}

if (!info->bitmap && info->offset == offset) {
unlink_free_space(ctl, info);
info->offset += bytes;
info->bytes -= bytes;
link_free_space(ctl, info);
ret = link_free_space(ctl, info);
WARN_ON(ret);
goto out_lock;
}

Expand Down

0 comments on commit 1f65418

Please sign in to comment.