aboutsummaryrefslogtreecommitdiffstats
path: root/fs/gfs2/recovery.c
diff options
context:
space:
mode:
authorSteven Whitehouse <swhiteho@redhat.com>2006-09-04 12:49:07 -0400
committerSteven Whitehouse <swhiteho@redhat.com>2006-09-04 12:49:07 -0400
commitcd915493fce912f1bd838ee1250737ecf33b8fae (patch)
treee14ec6643de91f473edb26a89905e710596fe6bc /fs/gfs2/recovery.c
parenta91ea69ffd3f8a0b7139bfd44042ab384461e631 (diff)
[GFS2] Change all types to uX style
This makes all fixed size types have consistent names. Cc: Jan Engelhardt <jengelh@linux01.gwdg.de> Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/gfs2/recovery.c')
-rw-r--r--fs/gfs2/recovery.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/fs/gfs2/recovery.c b/fs/gfs2/recovery.c
index acafe4b4d6f0..ab55191926c3 100644
--- a/fs/gfs2/recovery.c
+++ b/fs/gfs2/recovery.c
@@ -35,8 +35,8 @@ int gfs2_replay_read_block(struct gfs2_jdesc *jd, unsigned int blk,
35 struct gfs2_inode *ip = GFS2_I(jd->jd_inode); 35 struct gfs2_inode *ip = GFS2_I(jd->jd_inode);
36 struct gfs2_glock *gl = ip->i_gl; 36 struct gfs2_glock *gl = ip->i_gl;
37 int new = 0; 37 int new = 0;
38 uint64_t dblock; 38 u64 dblock;
39 uint32_t extlen; 39 u32 extlen;
40 int error; 40 int error;
41 41
42 error = gfs2_extent_map(&ip->i_inode, blk, &new, &dblock, &extlen); 42 error = gfs2_extent_map(&ip->i_inode, blk, &new, &dblock, &extlen);
@@ -53,7 +53,7 @@ int gfs2_replay_read_block(struct gfs2_jdesc *jd, unsigned int blk,
53 return error; 53 return error;
54} 54}
55 55
56int gfs2_revoke_add(struct gfs2_sbd *sdp, uint64_t blkno, unsigned int where) 56int gfs2_revoke_add(struct gfs2_sbd *sdp, u64 blkno, unsigned int where)
57{ 57{
58 struct list_head *head = &sdp->sd_revoke_list; 58 struct list_head *head = &sdp->sd_revoke_list;
59 struct gfs2_revoke_replay *rr; 59 struct gfs2_revoke_replay *rr;
@@ -82,7 +82,7 @@ int gfs2_revoke_add(struct gfs2_sbd *sdp, uint64_t blkno, unsigned int where)
82 return 1; 82 return 1;
83} 83}
84 84
85int gfs2_revoke_check(struct gfs2_sbd *sdp, uint64_t blkno, unsigned int where) 85int gfs2_revoke_check(struct gfs2_sbd *sdp, u64 blkno, unsigned int where)
86{ 86{
87 struct gfs2_revoke_replay *rr; 87 struct gfs2_revoke_replay *rr;
88 int wrap, a, b, revoke; 88 int wrap, a, b, revoke;
@@ -137,7 +137,7 @@ static int get_log_header(struct gfs2_jdesc *jd, unsigned int blk,
137{ 137{
138 struct buffer_head *bh; 138 struct buffer_head *bh;
139 struct gfs2_log_header lh; 139 struct gfs2_log_header lh;
140 uint32_t hash; 140 u32 hash;
141 int error; 141 int error;
142 142
143 error = gfs2_replay_read_block(jd, blk, &bh); 143 error = gfs2_replay_read_block(jd, blk, &bh);
@@ -249,7 +249,7 @@ static int jhead_scan(struct gfs2_jdesc *jd, struct gfs2_log_header *head)
249int gfs2_find_jhead(struct gfs2_jdesc *jd, struct gfs2_log_header *head) 249int gfs2_find_jhead(struct gfs2_jdesc *jd, struct gfs2_log_header *head)
250{ 250{
251 struct gfs2_log_header lh_1, lh_m; 251 struct gfs2_log_header lh_1, lh_m;
252 uint32_t blk_1, blk_2, blk_m; 252 u32 blk_1, blk_2, blk_m;
253 int error; 253 int error;
254 254
255 blk_1 = 0; 255 blk_1 = 0;
@@ -370,9 +370,9 @@ static int clean_journal(struct gfs2_jdesc *jd, struct gfs2_log_header *head)
370 struct gfs2_sbd *sdp = GFS2_SB(jd->jd_inode); 370 struct gfs2_sbd *sdp = GFS2_SB(jd->jd_inode);
371 unsigned int lblock; 371 unsigned int lblock;
372 int new = 0; 372 int new = 0;
373 uint64_t dblock; 373 u64 dblock;
374 struct gfs2_log_header *lh; 374 struct gfs2_log_header *lh;
375 uint32_t hash; 375 u32 hash;
376 struct buffer_head *bh; 376 struct buffer_head *bh;
377 int error; 377 int error;
378 int boundary; 378 int boundary;