Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 38751
b: refs/heads/master
c: 634ee0b
h: refs/heads/master
i:
  38749: b12d03c
  38747: 755dc5c
  38743: dac322f
  38735: 2821f0b
  38719: 6b1cf44
v: v3
  • Loading branch information
Steven Whitehouse committed Jul 17, 2006
1 parent 7ec7e3c commit a6c440e
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 4bf311ddfbffe12d41ad1a3c311ab727db6f72cb
refs/heads/master: 634ee0b9f458f3530b9c0ea7e6951dd03db7d678
5 changes: 2 additions & 3 deletions trunk/fs/gfs2/dir.c
Original file line number Diff line number Diff line change
Expand Up @@ -1763,9 +1763,8 @@ static int foreach_leaf(struct gfs2_inode *dip, leaf_call_t lc, void *data)
if (error)
goto out;
leaf = (struct gfs2_leaf *)bh->b_data;
brelse(bh);

len = 1 << (dip->i_di.di_depth - be16_to_cpu(leaf->lf_depth));
brelse(bh);

error = lc(dip, index, len, leaf_no, data);
if (error)
Expand All @@ -1781,7 +1780,7 @@ static int foreach_leaf(struct gfs2_inode *dip, leaf_call_t lc, void *data)
error = -EIO;
}

out:
out:
kfree(lp);

return error;
Expand Down

0 comments on commit a6c440e

Please sign in to comment.