Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 128979
b: refs/heads/master
c: 37d3cdd
h: refs/heads/master
i:
  128977: 3077bb4
  128975: e1f60a7
v: v3
  • Loading branch information
Josef Bacik authored and Chris Mason committed Oct 10, 2008
1 parent a8ade55 commit 96ac05e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: a3dddf3fc82a1f5942c0928abfd114e9a8c0d0c8
refs/heads/master: 37d3cdddf5378606f6eab99982ca16819745d8f4
4 changes: 2 additions & 2 deletions trunk/fs/btrfs/free-space-cache.c
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,8 @@ static struct btrfs_free_space *tree_search_offset(struct rb_root *root,
ret = entry;
n = n->rb_left;
} else if (offset > entry->offset) {
if (contains &&
(entry->offset + entry->bytes - 1) >= offset) {
if ((entry->offset + entry->bytes - 1) >= offset &&
bytes <= entry->bytes) {
ret = entry;
break;
}
Expand Down

0 comments on commit 96ac05e

Please sign in to comment.