aboutsummaryrefslogtreecommitdiffstats
path: root/fs/gfs2/util.c
diff options
context:
space:
mode:
authorSteven Whitehouse <swhiteho@redhat.com>2006-05-24 10:22:09 -0400
committerSteven Whitehouse <swhiteho@redhat.com>2006-05-24 10:22:09 -0400
commit382066da251132f768380f4852ed5afb72d88f80 (patch)
treef8ae69e6b441452f9958f45cea15a0cf90baa39d /fs/gfs2/util.c
parent9229f013495dcdae76e9942ebc2cfc69851fe10a (diff)
[GFS2] Casts for printing 64bit numbers
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/gfs2/util.c')
-rw-r--r--fs/gfs2/util.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/fs/gfs2/util.c b/fs/gfs2/util.c
index 0b37d6bcc36e..88974e9824f7 100644
--- a/fs/gfs2/util.c
+++ b/fs/gfs2/util.c
@@ -116,7 +116,8 @@ int gfs2_consist_inode_i(struct gfs2_inode *ip, int cluster_wide,
116 "GFS2: fsid=%s: inode = %llu %llu\n" 116 "GFS2: fsid=%s: inode = %llu %llu\n"
117 "GFS2: fsid=%s: function = %s, file = %s, line = %u\n", 117 "GFS2: fsid=%s: function = %s, file = %s, line = %u\n",
118 sdp->sd_fsname, 118 sdp->sd_fsname,
119 sdp->sd_fsname, ip->i_num.no_formal_ino, ip->i_num.no_addr, 119 sdp->sd_fsname, (unsigned long long)ip->i_num.no_formal_ino,
120 (unsigned long long)ip->i_num.no_addr,
120 sdp->sd_fsname, function, file, line); 121 sdp->sd_fsname, function, file, line);
121 return rv; 122 return rv;
122} 123}
@@ -137,7 +138,7 @@ int gfs2_consist_rgrpd_i(struct gfs2_rgrpd *rgd, int cluster_wide,
137 "GFS2: fsid=%s: RG = %llu\n" 138 "GFS2: fsid=%s: RG = %llu\n"
138 "GFS2: fsid=%s: function = %s, file = %s, line = %u\n", 139 "GFS2: fsid=%s: function = %s, file = %s, line = %u\n",
139 sdp->sd_fsname, 140 sdp->sd_fsname,
140 sdp->sd_fsname, rgd->rd_ri.ri_addr, 141 sdp->sd_fsname, (unsigned long long)rgd->rd_ri.ri_addr,
141 sdp->sd_fsname, function, file, line); 142 sdp->sd_fsname, function, file, line);
142 return rv; 143 return rv;
143} 144}
@@ -158,7 +159,7 @@ int gfs2_meta_check_ii(struct gfs2_sbd *sdp, struct buffer_head *bh,
158 "GFS2: fsid=%s: bh = %llu (%s)\n" 159 "GFS2: fsid=%s: bh = %llu (%s)\n"
159 "GFS2: fsid=%s: function = %s, file = %s, line = %u\n", 160 "GFS2: fsid=%s: function = %s, file = %s, line = %u\n",
160 sdp->sd_fsname, 161 sdp->sd_fsname,
161 sdp->sd_fsname, (uint64_t)bh->b_blocknr, type, 162 sdp->sd_fsname, (unsigned long long)bh->b_blocknr, type,
162 sdp->sd_fsname, function, file, line); 163 sdp->sd_fsname, function, file, line);
163 return (me) ? -1 : -2; 164 return (me) ? -1 : -2;
164} 165}
@@ -179,7 +180,7 @@ int gfs2_metatype_check_ii(struct gfs2_sbd *sdp, struct buffer_head *bh,
179 "GFS2: fsid=%s: bh = %llu (type: exp=%u, found=%u)\n" 180 "GFS2: fsid=%s: bh = %llu (type: exp=%u, found=%u)\n"
180 "GFS2: fsid=%s: function = %s, file = %s, line = %u\n", 181 "GFS2: fsid=%s: function = %s, file = %s, line = %u\n",
181 sdp->sd_fsname, 182 sdp->sd_fsname,
182 sdp->sd_fsname, (uint64_t)bh->b_blocknr, type, t, 183 sdp->sd_fsname, (unsigned long long)bh->b_blocknr, type, t,
183 sdp->sd_fsname, function, file, line); 184 sdp->sd_fsname, function, file, line);
184 return (me) ? -1 : -2; 185 return (me) ? -1 : -2;
185} 186}
@@ -217,7 +218,7 @@ int gfs2_io_error_bh_i(struct gfs2_sbd *sdp, struct buffer_head *bh,
217 "GFS2: fsid=%s: block = %llu\n" 218 "GFS2: fsid=%s: block = %llu\n"
218 "GFS2: fsid=%s: function = %s, file = %s, line = %u\n", 219 "GFS2: fsid=%s: function = %s, file = %s, line = %u\n",
219 sdp->sd_fsname, 220 sdp->sd_fsname,
220 sdp->sd_fsname, (uint64_t)bh->b_blocknr, 221 sdp->sd_fsname, (unsigned long long)bh->b_blocknr,
221 sdp->sd_fsname, function, file, line); 222 sdp->sd_fsname, function, file, line);
222 return rv; 223 return rv;
223} 224}