diff options
author | Andrew Morton <akpm@linux-foundation.org> | 2009-12-23 07:48:08 -0500 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2009-12-23 07:48:08 -0500 |
commit | a6b43e382568a49cc64291bfaddf896652d44f70 (patch) | |
tree | b7ef950c5d704dc72e054ad621fa34d82ae4f9cf /fs/ext4/super.c | |
parent | cc3e1bea5d87635c519da657303690f5538bb4eb (diff) |
ext4: fix unsigned long long printk warning in super.c
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)
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'fs/ext4/super.c')
-rw-r--r-- | fs/ext4/super.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/ext4/super.c b/fs/ext4/super.c index 0a06fe6f2bc2..7cccb35c0f4d 100644 --- a/fs/ext4/super.c +++ b/fs/ext4/super.c | |||
@@ -2174,9 +2174,9 @@ static ssize_t lifetime_write_kbytes_show(struct ext4_attr *a, | |||
2174 | struct super_block *sb = sbi->s_buddy_cache->i_sb; | 2174 | struct super_block *sb = sbi->s_buddy_cache->i_sb; |
2175 | 2175 | ||
2176 | return snprintf(buf, PAGE_SIZE, "%llu\n", | 2176 | return snprintf(buf, PAGE_SIZE, "%llu\n", |
2177 | sbi->s_kbytes_written + | 2177 | (unsigned long long)(sbi->s_kbytes_written + |
2178 | ((part_stat_read(sb->s_bdev->bd_part, sectors[1]) - | 2178 | ((part_stat_read(sb->s_bdev->bd_part, sectors[1]) - |
2179 | EXT4_SB(sb)->s_sectors_written_start) >> 1)); | 2179 | EXT4_SB(sb)->s_sectors_written_start) >> 1))); |
2180 | } | 2180 | } |
2181 | 2181 | ||
2182 | static ssize_t inode_readahead_blks_store(struct ext4_attr *a, | 2182 | static ssize_t inode_readahead_blks_store(struct ext4_attr *a, |