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/meta_io.c | |
parent | 9229f013495dcdae76e9942ebc2cfc69851fe10a (diff) |
[GFS2] Casts for printing 64bit numbers
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/gfs2/meta_io.c')
-rw-r--r-- | fs/gfs2/meta_io.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/fs/gfs2/meta_io.c b/fs/gfs2/meta_io.c index b9895bbd5feb..c78517225f61 100644 --- a/fs/gfs2/meta_io.c +++ b/fs/gfs2/meta_io.c | |||
@@ -65,7 +65,7 @@ static void stuck_releasepage(struct buffer_head *bh) | |||
65 | 65 | ||
66 | fs_warn(sdp, "stuck in gfs2_releasepage() %p\n", inode); | 66 | fs_warn(sdp, "stuck in gfs2_releasepage() %p\n", inode); |
67 | fs_warn(sdp, "blkno = %llu, bh->b_count = %d\n", | 67 | fs_warn(sdp, "blkno = %llu, bh->b_count = %d\n", |
68 | (uint64_t)bh->b_blocknr, atomic_read(&bh->b_count)); | 68 | (unsigned long long)bh->b_blocknr, atomic_read(&bh->b_count)); |
69 | fs_warn(sdp, "pinned = %u\n", buffer_pinned(bh)); | 69 | fs_warn(sdp, "pinned = %u\n", buffer_pinned(bh)); |
70 | fs_warn(sdp, "bh->b_private = %s\n", (bd) ? "!NULL" : "NULL"); | 70 | fs_warn(sdp, "bh->b_private = %s\n", (bd) ? "!NULL" : "NULL"); |
71 | 71 | ||
@@ -75,7 +75,7 @@ static void stuck_releasepage(struct buffer_head *bh) | |||
75 | gl = bd->bd_gl; | 75 | gl = bd->bd_gl; |
76 | 76 | ||
77 | fs_warn(sdp, "gl = (%u, %llu)\n", | 77 | fs_warn(sdp, "gl = (%u, %llu)\n", |
78 | gl->gl_name.ln_type, gl->gl_name.ln_number); | 78 | gl->gl_name.ln_type, (unsigned long long)gl->gl_name.ln_number); |
79 | 79 | ||
80 | fs_warn(sdp, "bd_list_tr = %s, bd_le.le_list = %s\n", | 80 | fs_warn(sdp, "bd_list_tr = %s, bd_le.le_list = %s\n", |
81 | (list_empty(&bd->bd_list_tr)) ? "no" : "yes", | 81 | (list_empty(&bd->bd_list_tr)) ? "no" : "yes", |
@@ -89,7 +89,8 @@ static void stuck_releasepage(struct buffer_head *bh) | |||
89 | return; | 89 | return; |
90 | 90 | ||
91 | fs_warn(sdp, "ip = %llu %llu\n", | 91 | fs_warn(sdp, "ip = %llu %llu\n", |
92 | ip->i_num.no_formal_ino, ip->i_num.no_addr); | 92 | (unsigned long long)ip->i_num.no_formal_ino, |
93 | (unsigned long long)ip->i_num.no_addr); | ||
93 | fs_warn(sdp, "ip->i_count = %d, ip->i_vnode = %s\n", | 94 | fs_warn(sdp, "ip->i_count = %d, ip->i_vnode = %s\n", |
94 | atomic_read(&ip->i_count), | 95 | atomic_read(&ip->i_count), |
95 | (ip->i_vnode) ? "!NULL" : "NULL"); | 96 | (ip->i_vnode) ? "!NULL" : "NULL"); |