mirror of
https://github.com/adulau/aha.git
synced 2024-12-29 04:06:22 +00:00
[GFS2] Add cast for printk
Cast a uint64_t to unsigned long long for a printk. Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
This commit is contained in:
parent
3864caea2e
commit
fd4de2d41a
1 changed files with 1 additions and 1 deletions
|
@ -214,7 +214,7 @@ static uint64_t log_bmap(struct gfs2_sbd *sdp, unsigned int lbn)
|
|||
|
||||
error = gfs2_block_map(sdp->sd_jdesc->jd_inode, lbn, &new, &dbn, &bdy);
|
||||
if (!(!error && dbn)) {
|
||||
printk(KERN_INFO "error=%d, dbn=%llu lbn=%u", error, dbn, lbn);
|
||||
printk(KERN_INFO "error=%d, dbn=%llu lbn=%u", error, (unsigned long long)dbn, lbn);
|
||||
}
|
||||
gfs2_assert_withdraw(sdp, !error && dbn);
|
||||
|
||||
|
|
Loading…
Reference in a new issue