fs/ext4/super.c: fix printk warning
PATCH 1/1 fs/ext4/super.c: fix printk warning
From: Andrew Morton <[email protected]>
sparc64 allmodconfig:
fs/ext4/super.c: In function `lifetime_write_kbytes_show':fs/ext4/super.c:2174: warning: long long unsigned int format, long unsigned int arg (arg 4) fs/ext4/super.c:2174: warning: long long unsigned int format, long unsigned int arg (arg 4)
Cc Theodore Ts'o <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
fs/ext4/super.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
fs/ext4/super.c renamed from fs/ext4/super.c~fs-ext4-superc-fix-printk-warning +2 -2
@@ -2174,9 +2174,9 @@ static ssize_t lifetime_write_kbytes_shostruct super_block *sb = sbi->s_buddy_cache->i_sb;return snprintf (buf,PAGE_SIZE ,"%llu\n" , - sbi->s_kbytes_written + + (unsigned long long )(sbi->s_kbytes_written + ((part_stat_read (sb->s_bdev->bd_part, sectors[1 ]) - -EXT4_SB (sb)->s_sectors_written_start) >>1 )); +EXT4_SB (sb)->s_sectors_written_start) >>1 ))); } static ssize_t inode_readahead_blks_store(struct ext4_attr *a,
_
[email protected]
maintainerQuoted 10 lines · On Mon, Dec 21, 2009 at 04:25:42PM -0800, [email protected] wrote:
From: Andrew Morton <[email protected]>
sparc64 allmodconfig:
fs/ext4/super.c: In function `lifetime_write_kbytes_show':fs/ext4/super.c:2174: warning: long long unsigned int format, long unsigned int arg (arg 4)fs/ext4/super.c:2174: warning: long long unsigned int format, long unsigned int arg (arg 4)Cc Theodore Ts'o <[email protected]>Signed-off-by Andrew Morton <[email protected]>
Thanks, added to the ext4 tree.
- Ted