summaryrefslogtreecommitdiffstats
path: root/fs/ext4/balloc.c
diff options
context:
space:
mode:
authorHeiko Carstens <heiko.carstens@de.ibm.com>2012-02-20 17:57:24 -0500
committerTheodore Ts'o <tytso@mit.edu>2012-02-20 17:57:24 -0500
commitd4dc462f556afe510d58d3b12b3d66c2cabff539 (patch)
tree83e147cbbac02d1a128f5031c43abef65f3590b3 /fs/ext4/balloc.c
parentc5e8f3f3bc4b5e4a73b075ea7128f48c3f215168 (diff)
downloadop-kernel-dev-d4dc462f556afe510d58d3b12b3d66c2cabff539.zip
op-kernel-dev-d4dc462f556afe510d58d3b12b3d66c2cabff539.tar.gz
ext4: fix balloc.c printk-format-warning
Get rid of this one: fs/ext4/balloc.c: In function 'ext4_wait_block_bitmap': fs/ext4/balloc.c:405:3: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 6 has type 'sector_t' [-Wformat] Happens because sector_t is u64 (unsigned long long) or unsigned long dependent on CONFIG_64BIT. Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Acked-by: Randy Dunlap <rdunlap@xenotime.net> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'fs/ext4/balloc.c')
-rw-r--r--fs/ext4/balloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ext4/balloc.c b/fs/ext4/balloc.c
index a2cff2b..4bbd07a 100644
--- a/fs/ext4/balloc.c
+++ b/fs/ext4/balloc.c
@@ -407,7 +407,7 @@ int ext4_wait_block_bitmap(struct super_block *sb, ext4_group_t block_group,
if (!buffer_uptodate(bh)) {
ext4_error(sb, "Cannot read block bitmap - "
"block_group = %u, block_bitmap = %llu",
- block_group, bh->b_blocknr);
+ block_group, (unsigned long long) bh->b_blocknr);
return 1;
}
clear_buffer_new(bh);
OpenPOWER on IntegriCloud