Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 128548
b: refs/heads/master
c: 0e4de58
h: refs/heads/master
v: v3
  • Loading branch information
Chris Mason committed Sep 25, 2008
1 parent 73bd26a commit 338c2fa
Show file tree
Hide file tree
Showing 2 changed files with 4 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: 7073c8e852946274e4d50fdf072438612f9dc845
refs/heads/master: 0e4de58432f552c0ecead965b0fad8a9fb1d31ec
3 changes: 3 additions & 0 deletions trunk/fs/btrfs/extent-tree.c
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,7 @@ static u64 find_search_start(struct btrfs_root *root,
wrapped:
cache = btrfs_lookup_block_group(root->fs_info, last);
if (!cache) {
no_cache:
if (!wrapped) {
wrapped = 1;
last = search_start;
Expand All @@ -219,6 +220,8 @@ static u64 find_search_start(struct btrfs_root *root,
}
if (!full_scan)
cache = btrfs_find_block_group(root, cache, last, data, 0);
if (!cache)
goto no_cache;
*cache_ret = cache;
cache_miss = 0;
goto again;
Expand Down

0 comments on commit 338c2fa

Please sign in to comment.