Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 195737
b: refs/heads/master
c: 3e4218d
h: refs/heads/master
i:
  195735: 3fb3efe
v: v3
  • Loading branch information
Tao Ma authored and Joel Becker committed May 6, 2010
1 parent 2d810a9 commit bfac4e7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 8 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: b065556a7d1a9205403db77a318a5c5aa530e701
refs/heads/master: 3e4218df3176657be72ad2fa199779be6c11fe4f
7 changes: 2 additions & 5 deletions trunk/fs/ocfs2/localalloc.c
Original file line number Diff line number Diff line change
Expand Up @@ -879,13 +879,10 @@ static int ocfs2_local_alloc_find_clear_bits(struct ocfs2_super *osb,
mlog(0, "Exiting loop, bitoff = %d, numfound = %d\n", bitoff,
numfound);

if (numfound == *numbits) {
if (numfound == *numbits)
bitoff = startoff - numfound;
*numbits = numfound;
} else {
numfound = 0;
else
bitoff = -1;
}

bail:
if (local_resv)
Expand Down
2 changes: 0 additions & 2 deletions trunk/fs/ocfs2/reservations.c
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,6 @@ ocfs2_find_resv_lhs(struct ocfs2_reservation_map *resmap, unsigned int goal)
struct ocfs2_alloc_reservation *resv = NULL;
struct ocfs2_alloc_reservation *prev_resv = NULL;
struct rb_node *node = resmap->m_reservations.rb_node;
struct rb_node *prev = NULL;

assert_spin_locked(&resv_lock);

Expand All @@ -392,7 +391,6 @@ ocfs2_find_resv_lhs(struct ocfs2_reservation_map *resmap, unsigned int goal)
}

prev_resv = resv;
prev = node;
node = rb_next(node);
}

Expand Down

0 comments on commit bfac4e7

Please sign in to comment.