diff options
Diffstat (limited to 'fs/gfs2/trans.c')
-rw-r--r-- | fs/gfs2/trans.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/gfs2/trans.c b/fs/gfs2/trans.c index 8e18e634cbed..acf840160d5f 100644 --- a/fs/gfs2/trans.c +++ b/fs/gfs2/trans.c | |||
@@ -46,7 +46,7 @@ int gfs2_trans_begin(struct gfs2_sbd *sdp, unsigned int blocks, | |||
46 | tr->tr_reserved += 6 + blocks; | 46 | tr->tr_reserved += 6 + blocks; |
47 | if (revokes) | 47 | if (revokes) |
48 | tr->tr_reserved += gfs2_struct2blk(sdp, revokes, | 48 | tr->tr_reserved += gfs2_struct2blk(sdp, revokes, |
49 | sizeof(uint64_t)); | 49 | sizeof(u64)); |
50 | INIT_LIST_HEAD(&tr->tr_list_buf); | 50 | INIT_LIST_HEAD(&tr->tr_list_buf); |
51 | 51 | ||
52 | gfs2_holder_init(sdp->sd_trans_gl, LM_ST_SHARED, 0, &tr->tr_t_gh); | 52 | gfs2_holder_init(sdp->sd_trans_gl, LM_ST_SHARED, 0, &tr->tr_t_gh); |
@@ -142,7 +142,7 @@ void gfs2_trans_add_bh(struct gfs2_glock *gl, struct buffer_head *bh, int meta) | |||
142 | lops_add(sdp, &bd->bd_le); | 142 | lops_add(sdp, &bd->bd_le); |
143 | } | 143 | } |
144 | 144 | ||
145 | void gfs2_trans_add_revoke(struct gfs2_sbd *sdp, uint64_t blkno) | 145 | void gfs2_trans_add_revoke(struct gfs2_sbd *sdp, u64 blkno) |
146 | { | 146 | { |
147 | struct gfs2_revoke *rv = kmalloc(sizeof(struct gfs2_revoke), | 147 | struct gfs2_revoke *rv = kmalloc(sizeof(struct gfs2_revoke), |
148 | GFP_NOFS | __GFP_NOFAIL); | 148 | GFP_NOFS | __GFP_NOFAIL); |
@@ -151,7 +151,7 @@ void gfs2_trans_add_revoke(struct gfs2_sbd *sdp, uint64_t blkno) | |||
151 | lops_add(sdp, &rv->rv_le); | 151 | lops_add(sdp, &rv->rv_le); |
152 | } | 152 | } |
153 | 153 | ||
154 | void gfs2_trans_add_unrevoke(struct gfs2_sbd *sdp, uint64_t blkno) | 154 | void gfs2_trans_add_unrevoke(struct gfs2_sbd *sdp, u64 blkno) |
155 | { | 155 | { |
156 | struct gfs2_revoke *rv; | 156 | struct gfs2_revoke *rv; |
157 | int found = 0; | 157 | int found = 0; |