summaryrefslogtreecommitdiffstats
path: root/fs/gfs2/meta_io.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/meta_io.c
parent9229f013495dcdae76e9942ebc2cfc69851fe10a (diff)
downloadop-kernel-dev-382066da251132f768380f4852ed5afb72d88f80.zip
op-kernel-dev-382066da251132f768380f4852ed5afb72d88f80.tar.gz
[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.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/fs/gfs2/meta_io.c b/fs/gfs2/meta_io.c
index b9895bb..c785172 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)
fs_warn(sdp, "stuck in gfs2_releasepage() %p\n", inode);
fs_warn(sdp, "blkno = %llu, bh->b_count = %d\n",
- (uint64_t)bh->b_blocknr, atomic_read(&bh->b_count));
+ (unsigned long long)bh->b_blocknr, atomic_read(&bh->b_count));
fs_warn(sdp, "pinned = %u\n", buffer_pinned(bh));
fs_warn(sdp, "bh->b_private = %s\n", (bd) ? "!NULL" : "NULL");
@@ -75,7 +75,7 @@ static void stuck_releasepage(struct buffer_head *bh)
gl = bd->bd_gl;
fs_warn(sdp, "gl = (%u, %llu)\n",
- gl->gl_name.ln_type, gl->gl_name.ln_number);
+ gl->gl_name.ln_type, (unsigned long long)gl->gl_name.ln_number);
fs_warn(sdp, "bd_list_tr = %s, bd_le.le_list = %s\n",
(list_empty(&bd->bd_list_tr)) ? "no" : "yes",
@@ -89,7 +89,8 @@ static void stuck_releasepage(struct buffer_head *bh)
return;
fs_warn(sdp, "ip = %llu %llu\n",
- ip->i_num.no_formal_ino, ip->i_num.no_addr);
+ (unsigned long long)ip->i_num.no_formal_ino,
+ (unsigned long long)ip->i_num.no_addr);
fs_warn(sdp, "ip->i_count = %d, ip->i_vnode = %s\n",
atomic_read(&ip->i_count),
(ip->i_vnode) ? "!NULL" : "NULL");
OpenPOWER on IntegriCloud