Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 287079
b: refs/heads/master
c: 934eed3
h: refs/heads/master
i:
  287077: 51795f4
  287075: 575134b
  287071: 3118727
v: v3
  • Loading branch information
Joern Engel authored and Prasad Joshi committed Jan 28, 2012
1 parent 84e7ee1 commit 47a6664
Show file tree
Hide file tree
Showing 2 changed files with 2 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: 96150606e2fb82d242c9e4a414e4e922849f7bf7
refs/heads/master: 934eed395d201bf0901ca0c0cc3703b18729d0ce
2 changes: 1 addition & 1 deletion trunk/fs/logfs/gc.c
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ static struct gc_candidate *get_candidate(struct super_block *sb)
int i, max_dist;
struct gc_candidate *cand = NULL, *this;

max_dist = min(no_free_segments(sb), LOGFS_NO_AREAS);
max_dist = min(no_free_segments(sb), LOGFS_NO_AREAS - 1);

for (i = max_dist; i >= 0; i--) {
this = first_in_list(&super->s_low_list[i]);
Expand Down

0 comments on commit 47a6664

Please sign in to comment.