aboutsummaryrefslogtreecommitdiffstats
path: root/fs/gfs2/ondisk.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/ondisk.c
parent9229f013495dcdae76e9942ebc2cfc69851fe10a (diff)
[GFS2] Casts for printing 64bit numbers
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/gfs2/ondisk.c')
-rw-r--r--fs/gfs2/ondisk.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/fs/gfs2/ondisk.c b/fs/gfs2/ondisk.c
index b3bc21a6ba07..be5c86e5787e 100644
--- a/fs/gfs2/ondisk.c
+++ b/fs/gfs2/ondisk.c
@@ -50,8 +50,8 @@ void gfs2_inum_out(const struct gfs2_inum *no, char *buf)
50 50
51static void gfs2_inum_print(struct gfs2_inum *no) 51static void gfs2_inum_print(struct gfs2_inum *no)
52{ 52{
53 pv(no, no_formal_ino, "%llu"); 53 printk(KERN_INFO " no_formal_ino = %llu\n", (unsigned long long)no->no_formal_ino);
54 pv(no, no_addr, "%llu"); 54 printk(KERN_INFO " no_addr = %llu\n", (unsigned long long)no->no_addr);
55} 55}
56 56
57static void gfs2_meta_header_in(struct gfs2_meta_header *mh, char *buf) 57static void gfs2_meta_header_in(struct gfs2_meta_header *mh, char *buf)
@@ -111,10 +111,10 @@ void gfs2_rindex_in(struct gfs2_rindex *ri, char *buf)
111 111
112void gfs2_rindex_print(struct gfs2_rindex *ri) 112void gfs2_rindex_print(struct gfs2_rindex *ri)
113{ 113{
114 pv(ri, ri_addr, "%llu"); 114 printk(KERN_INFO " ri_addr = %llu\n", (unsigned long long)ri->ri_addr);
115 pv(ri, ri_length, "%u"); 115 pv(ri, ri_length, "%u");
116 116
117 pv(ri, ri_data0, "%llu"); 117 printk(KERN_INFO " ri_data0 = %llu\n", (unsigned long long)ri->ri_data0);
118 pv(ri, ri_data, "%u"); 118 pv(ri, ri_data, "%u");
119 119
120 pv(ri, ri_bitbytes, "%u"); 120 pv(ri, ri_bitbytes, "%u");
@@ -226,16 +226,16 @@ void gfs2_dinode_print(struct gfs2_dinode *di)
226 pv(di, di_uid, "%u"); 226 pv(di, di_uid, "%u");
227 pv(di, di_gid, "%u"); 227 pv(di, di_gid, "%u");
228 pv(di, di_nlink, "%u"); 228 pv(di, di_nlink, "%u");
229 pv(di, di_size, "%llu"); 229 printk(KERN_INFO " di_size = %llu\n", (unsigned long long)di->di_size);
230 pv(di, di_blocks, "%llu"); 230 printk(KERN_INFO " di_blocks = %llu\n", (unsigned long long)di->di_blocks);
231 pv(di, di_atime, "%lld"); 231 printk(KERN_INFO " di_atime = %lld\n", (long long)di->di_atime);
232 pv(di, di_mtime, "%lld"); 232 printk(KERN_INFO " di_mtime = %lld\n", (long long)di->di_mtime);
233 pv(di, di_ctime, "%lld"); 233 printk(KERN_INFO " di_ctime = %lld\n", (long long)di->di_ctime);
234 pv(di, di_major, "%u"); 234 pv(di, di_major, "%u");
235 pv(di, di_minor, "%u"); 235 pv(di, di_minor, "%u");
236 236
237 pv(di, di_goal_meta, "%llu"); 237 printk(KERN_INFO " di_goal_meta = %llu\n", (unsigned long long)di->di_goal_meta);
238 pv(di, di_goal_data, "%llu"); 238 printk(KERN_INFO " di_goal_data = %llu\n", (unsigned long long)di->di_goal_data);
239 239
240 pv(di, di_flags, "0x%.8X"); 240 pv(di, di_flags, "0x%.8X");
241 pv(di, di_payload_format, "%u"); 241 pv(di, di_payload_format, "%u");
@@ -244,7 +244,7 @@ void gfs2_dinode_print(struct gfs2_dinode *di)
244 pv(di, di_depth, "%u"); 244 pv(di, di_depth, "%u");
245 pv(di, di_entries, "%u"); 245 pv(di, di_entries, "%u");
246 246
247 pv(di, di_eattr, "%llu"); 247 printk(KERN_INFO " di_eattr = %llu\n", (unsigned long long)di->di_eattr);
248} 248}
249 249
250void gfs2_log_header_in(struct gfs2_log_header *lh, char *buf) 250void gfs2_log_header_in(struct gfs2_log_header *lh, char *buf)