[PATCH] ext4: fix printk format warnings
fs/ext4/resize.c:72: warning: long long unsigned int format, __u64 arg (arg 4) fs/ext4/resize.c:76: warning: long long unsigned int format, __u64 arg (arg 4) fs/ext4/resize.c:81: warning: long long unsigned int format, __u64 arg (arg 4) fs/ext4/resize.c:85: warning: long long unsigned int format, __u64 arg (arg 4) fs/ext4/resize.c:89: warning: long long unsigned int format, __u64 arg (arg 4) fs/ext4/resize.c:89: warning: long long unsigned int format, __u64 arg (arg 5) fs/ext4/resize.c:93: warning: long long unsigned int format, __u64 arg (arg 4) fs/ext4/resize.c:93: warning: long long unsigned int format, __u64 arg (arg 5) fs/ext4/resize.c:98: warning: long long unsigned int format, __u64 arg (arg 4) fs/ext4/resize.c:103: warning: long long unsigned int format, __u64 arg (arg 4) fs/ext4/resize.c:109: warning: long long unsigned int format, __u64 arg (arg 4) Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
bbdb396a60
commit
1939e49a0c
1 changed files with 14 additions and 9 deletions
|
@ -69,44 +69,49 @@ static int verify_group_input(struct super_block *sb,
|
||||||
else if (outside(input->block_bitmap, start, end))
|
else if (outside(input->block_bitmap, start, end))
|
||||||
ext4_warning(sb, __FUNCTION__,
|
ext4_warning(sb, __FUNCTION__,
|
||||||
"Block bitmap not in group (block %llu)",
|
"Block bitmap not in group (block %llu)",
|
||||||
input->block_bitmap);
|
(unsigned long long)input->block_bitmap);
|
||||||
else if (outside(input->inode_bitmap, start, end))
|
else if (outside(input->inode_bitmap, start, end))
|
||||||
ext4_warning(sb, __FUNCTION__,
|
ext4_warning(sb, __FUNCTION__,
|
||||||
"Inode bitmap not in group (block %llu)",
|
"Inode bitmap not in group (block %llu)",
|
||||||
input->inode_bitmap);
|
(unsigned long long)input->inode_bitmap);
|
||||||
else if (outside(input->inode_table, start, end) ||
|
else if (outside(input->inode_table, start, end) ||
|
||||||
outside(itend - 1, start, end))
|
outside(itend - 1, start, end))
|
||||||
ext4_warning(sb, __FUNCTION__,
|
ext4_warning(sb, __FUNCTION__,
|
||||||
"Inode table not in group (blocks %llu-%llu)",
|
"Inode table not in group (blocks %llu-%llu)",
|
||||||
input->inode_table, itend - 1);
|
(unsigned long long)input->inode_table, itend - 1);
|
||||||
else if (input->inode_bitmap == input->block_bitmap)
|
else if (input->inode_bitmap == input->block_bitmap)
|
||||||
ext4_warning(sb, __FUNCTION__,
|
ext4_warning(sb, __FUNCTION__,
|
||||||
"Block bitmap same as inode bitmap (%llu)",
|
"Block bitmap same as inode bitmap (%llu)",
|
||||||
input->block_bitmap);
|
(unsigned long long)input->block_bitmap);
|
||||||
else if (inside(input->block_bitmap, input->inode_table, itend))
|
else if (inside(input->block_bitmap, input->inode_table, itend))
|
||||||
ext4_warning(sb, __FUNCTION__,
|
ext4_warning(sb, __FUNCTION__,
|
||||||
"Block bitmap (%llu) in inode table (%llu-%llu)",
|
"Block bitmap (%llu) in inode table (%llu-%llu)",
|
||||||
input->block_bitmap, input->inode_table, itend-1);
|
(unsigned long long)input->block_bitmap,
|
||||||
|
(unsigned long long)input->inode_table, itend - 1);
|
||||||
else if (inside(input->inode_bitmap, input->inode_table, itend))
|
else if (inside(input->inode_bitmap, input->inode_table, itend))
|
||||||
ext4_warning(sb, __FUNCTION__,
|
ext4_warning(sb, __FUNCTION__,
|
||||||
"Inode bitmap (%llu) in inode table (%llu-%llu)",
|
"Inode bitmap (%llu) in inode table (%llu-%llu)",
|
||||||
input->inode_bitmap, input->inode_table, itend-1);
|
(unsigned long long)input->inode_bitmap,
|
||||||
|
(unsigned long long)input->inode_table, itend - 1);
|
||||||
else if (inside(input->block_bitmap, start, metaend))
|
else if (inside(input->block_bitmap, start, metaend))
|
||||||
ext4_warning(sb, __FUNCTION__,
|
ext4_warning(sb, __FUNCTION__,
|
||||||
"Block bitmap (%llu) in GDT table"
|
"Block bitmap (%llu) in GDT table"
|
||||||
" (%llu-%llu)",
|
" (%llu-%llu)",
|
||||||
input->block_bitmap, start, metaend - 1);
|
(unsigned long long)input->block_bitmap,
|
||||||
|
start, metaend - 1);
|
||||||
else if (inside(input->inode_bitmap, start, metaend))
|
else if (inside(input->inode_bitmap, start, metaend))
|
||||||
ext4_warning(sb, __FUNCTION__,
|
ext4_warning(sb, __FUNCTION__,
|
||||||
"Inode bitmap (%llu) in GDT table"
|
"Inode bitmap (%llu) in GDT table"
|
||||||
" (%llu-%llu)",
|
" (%llu-%llu)",
|
||||||
input->inode_bitmap, start, metaend - 1);
|
(unsigned long long)input->inode_bitmap,
|
||||||
|
start, metaend - 1);
|
||||||
else if (inside(input->inode_table, start, metaend) ||
|
else if (inside(input->inode_table, start, metaend) ||
|
||||||
inside(itend - 1, start, metaend))
|
inside(itend - 1, start, metaend))
|
||||||
ext4_warning(sb, __FUNCTION__,
|
ext4_warning(sb, __FUNCTION__,
|
||||||
"Inode table (%llu-%llu) overlaps"
|
"Inode table (%llu-%llu) overlaps"
|
||||||
"GDT table (%llu-%llu)",
|
"GDT table (%llu-%llu)",
|
||||||
input->inode_table, itend - 1, start, metaend - 1);
|
(unsigned long long)input->inode_table,
|
||||||
|
itend - 1, start, metaend - 1);
|
||||||
else
|
else
|
||||||
err = 0;
|
err = 0;
|
||||||
brelse(bh);
|
brelse(bh);
|
||||||
|
|
Loading…
Reference in a new issue