aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteven Whitehouse <swhiteho@redhat.com>2006-07-05 13:14:59 -0400
committerSteven Whitehouse <swhiteho@redhat.com>2006-07-05 13:14:59 -0400
commitfd4de2d41a9de2d949b0850d637aa84616f87ab8 (patch)
tree98bcb0cf0c6768f9a882e797fea14ea8de3bb344
parent3864caea2ed2b43bfc92e5cfbe001abe3f002a06 (diff)
[GFS2] Add cast for printk
Cast a uint64_t to unsigned long long for a printk. Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
-rw-r--r--fs/gfs2/log.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/gfs2/log.c b/fs/gfs2/log.c
index 483d4fa987f..1596e9436c4 100644
--- a/fs/gfs2/log.c
+++ b/fs/gfs2/log.c
@@ -214,7 +214,7 @@ static uint64_t log_bmap(struct gfs2_sbd *sdp, unsigned int lbn)
214 214
215 error = gfs2_block_map(sdp->sd_jdesc->jd_inode, lbn, &new, &dbn, &bdy); 215 error = gfs2_block_map(sdp->sd_jdesc->jd_inode, lbn, &new, &dbn, &bdy);
216 if (!(!error && dbn)) { 216 if (!(!error && dbn)) {
217 printk(KERN_INFO "error=%d, dbn=%llu lbn=%u", error, dbn, lbn); 217 printk(KERN_INFO "error=%d, dbn=%llu lbn=%u", error, (unsigned long long)dbn, lbn);
218 } 218 }
219 gfs2_assert_withdraw(sdp, !error && dbn); 219 gfs2_assert_withdraw(sdp, !error && dbn);
220 220