Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 348143
b: refs/heads/master
c: 15bd50a
h: refs/heads/master
i:
  348141: c5e9531
  348139: 3a990e8
  348135: dd1af28
  348127: 7a332d1
v: v3
  • Loading branch information
Bob Peterson authored and Steven Whitehouse committed Jan 2, 2013
1 parent 423cda4 commit 27fcdb5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 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: f1213cacc7ffc7d4cdef3692f22b28a2df3216f5
refs/heads/master: 15bd50ad82a6d3421af1abe82e2554898abc4141
10 changes: 7 additions & 3 deletions trunk/fs/gfs2/rgrp.c
Original file line number Diff line number Diff line change
Expand Up @@ -350,10 +350,14 @@ static u32 gfs2_free_extlen(const struct gfs2_rbm *rrbm, u32 len)
BUG_ON(len < chunk_size);
len -= chunk_size;
block = gfs2_rbm_to_block(&rbm);
gfs2_rbm_from_block(&rbm, block + chunk_size);
n_unaligned = 3;
if (ptr)
if (gfs2_rbm_from_block(&rbm, block + chunk_size)) {
n_unaligned = 0;
break;
}
if (ptr) {
n_unaligned = 3;
break;
}
n_unaligned = len & 3;
}

Expand Down

0 comments on commit 27fcdb5

Please sign in to comment.