diff options
author | Alexander Beregalov <a.beregalov@gmail.com> | 2008-10-29 17:13:08 -0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2008-10-29 17:13:08 -0400 |
commit | 8f72fbdf0d92e6127583cc548bf043c60cd4720f (patch) | |
tree | 1e640222c04efb9cd0e56fccee5a23084d006c38 /fs/ext4/inode.c | |
parent | fe0bdec68b77020281dc814805edfe594ae89e0f (diff) |
ext4: fix printk format warning
fs/ext4/balloc.c:607: warning: format '%lld' expects type 'long long int', but argument 2 has type 's64'
fs/ext4/inode.c:1822: warning: format '%lld' expects type 'long long int', but argument 2 has type 's64'
fs/ext4/inode.c:1824: warning: format '%lld' expects type 'long long int', but argument 2 has type 's64'
Signed-off-by: Alexander Beregalov <a.beregalov@gmail.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'fs/ext4/inode.c')
-rw-r--r-- | fs/ext4/inode.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/ext4/inode.c b/fs/ext4/inode.c index 6702a49992a6..5b088121686a 100644 --- a/fs/ext4/inode.c +++ b/fs/ext4/inode.c | |||
@@ -1831,9 +1831,9 @@ static void ext4_print_free_blocks(struct inode *inode) | |||
1831 | ext4_count_free_blocks(inode->i_sb)); | 1831 | ext4_count_free_blocks(inode->i_sb)); |
1832 | printk(KERN_EMERG "Free/Dirty block details\n"); | 1832 | printk(KERN_EMERG "Free/Dirty block details\n"); |
1833 | printk(KERN_EMERG "free_blocks=%lld\n", | 1833 | printk(KERN_EMERG "free_blocks=%lld\n", |
1834 | percpu_counter_sum(&sbi->s_freeblocks_counter)); | 1834 | (long long)percpu_counter_sum(&sbi->s_freeblocks_counter)); |
1835 | printk(KERN_EMERG "dirty_blocks=%lld\n", | 1835 | printk(KERN_EMERG "dirty_blocks=%lld\n", |
1836 | percpu_counter_sum(&sbi->s_dirtyblocks_counter)); | 1836 | (long long)percpu_counter_sum(&sbi->s_dirtyblocks_counter)); |
1837 | printk(KERN_EMERG "Block reservation details\n"); | 1837 | printk(KERN_EMERG "Block reservation details\n"); |
1838 | printk(KERN_EMERG "i_reserved_data_blocks=%lu\n", | 1838 | printk(KERN_EMERG "i_reserved_data_blocks=%lu\n", |
1839 | EXT4_I(inode)->i_reserved_data_blocks); | 1839 | EXT4_I(inode)->i_reserved_data_blocks); |