Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 323265
b: refs/heads/master
c: 5b924ae
h: refs/heads/master
i:
  323263: 3631d63
v: v3
  • Loading branch information
Steven Whitehouse committed Sep 24, 2012
1 parent a09d8ec commit ab08125
Show file tree
Hide file tree
Showing 3 changed files with 258 additions and 211 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: 4a993fb1503d11496974bd86c0b7123f63d9c8a2
refs/heads/master: 5b924ae2dcb1cc5e78445a0cedb5a3673bb5ad8a
7 changes: 7 additions & 0 deletions trunk/fs/gfs2/incore.h
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,13 @@ static inline u64 gfs2_rbm_to_block(const struct gfs2_rbm *rbm)
return rbm->rgd->rd_data0 + (rbm->bi->bi_start * GFS2_NBBY) + rbm->offset;
}

static inline bool gfs2_rbm_eq(const struct gfs2_rbm *rbm1,
const struct gfs2_rbm *rbm2)
{
return (rbm1->rgd == rbm2->rgd) && (rbm1->bi == rbm2->bi) &&
(rbm1->offset == rbm2->offset);
}

enum gfs2_state_bits {
BH_Pinned = BH_PrivateStart,
BH_Escaped = BH_PrivateStart + 1,
Expand Down
Loading

0 comments on commit ab08125

Please sign in to comment.