diff options
author | Steven Whitehouse <swhiteho@redhat.com> | 2006-05-24 10:22:09 -0400 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2006-05-24 10:22:09 -0400 |
commit | 382066da251132f768380f4852ed5afb72d88f80 (patch) | |
tree | f8ae69e6b441452f9958f45cea15a0cf90baa39d /fs/gfs2/glock.c | |
parent | 9229f013495dcdae76e9942ebc2cfc69851fe10a (diff) |
[GFS2] Casts for printing 64bit numbers
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/gfs2/glock.c')
-rw-r--r-- | fs/gfs2/glock.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/fs/gfs2/glock.c b/fs/gfs2/glock.c index 2ef8accf1cbc..0603a6de52c9 100644 --- a/fs/gfs2/glock.c +++ b/fs/gfs2/glock.c | |||
@@ -2196,7 +2196,8 @@ static int dump_inode(struct gfs2_inode *ip) | |||
2196 | 2196 | ||
2197 | printk(KERN_INFO " Inode:\n"); | 2197 | printk(KERN_INFO " Inode:\n"); |
2198 | printk(KERN_INFO " num = %llu %llu\n", | 2198 | printk(KERN_INFO " num = %llu %llu\n", |
2199 | ip->i_num.no_formal_ino, ip->i_num.no_addr); | 2199 | (unsigned long long)ip->i_num.no_formal_ino, |
2200 | (unsigned long long)ip->i_num.no_addr); | ||
2200 | printk(KERN_INFO " type = %u\n", IF2DT(ip->i_di.di_mode)); | 2201 | printk(KERN_INFO " type = %u\n", IF2DT(ip->i_di.di_mode)); |
2201 | printk(KERN_INFO " i_count = %d\n", atomic_read(&ip->i_count)); | 2202 | printk(KERN_INFO " i_count = %d\n", atomic_read(&ip->i_count)); |
2202 | printk(KERN_INFO " i_flags ="); | 2203 | printk(KERN_INFO " i_flags ="); |
@@ -2228,7 +2229,7 @@ static int dump_glock(struct gfs2_glock *gl) | |||
2228 | spin_lock(&gl->gl_spin); | 2229 | spin_lock(&gl->gl_spin); |
2229 | 2230 | ||
2230 | printk(KERN_INFO "Glock (%u, %llu)\n", gl->gl_name.ln_type, | 2231 | printk(KERN_INFO "Glock (%u, %llu)\n", gl->gl_name.ln_type, |
2231 | gl->gl_name.ln_number); | 2232 | (unsigned long long)gl->gl_name.ln_number); |
2232 | printk(KERN_INFO " gl_flags ="); | 2233 | printk(KERN_INFO " gl_flags ="); |
2233 | for (x = 0; x < 32; x++) | 2234 | for (x = 0; x < 32; x++) |
2234 | if (test_bit(x, &gl->gl_flags)) | 2235 | if (test_bit(x, &gl->gl_flags)) |