diff options
author | OGAWA Hirofumi <hirofumi@mail.parknet.co.jp> | 2008-11-06 15:53:58 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-11-06 18:41:22 -0500 |
commit | c3302931db090d87e9015c3a7ce5c97a7dd90f78 (patch) | |
tree | d7a1f9a2769630d7cfbcfc6f69199dbf69396e36 /fs/fat/fatent.c | |
parent | 9ca59f4c3d28df14a1545a1e2832f34a0a50e3ed (diff) |
fat: i_blocks warning fix
blkcnt_t type depends on CONFIG_LSF. Use unsigned long long always for
printk(). But lazy to type it, so add "llu" and use it.
Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/fat/fatent.c')
-rw-r--r-- | fs/fat/fatent.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/fs/fat/fatent.c b/fs/fat/fatent.c index 13513992da3c..da6eea47872f 100644 --- a/fs/fat/fatent.c +++ b/fs/fat/fatent.c | |||
@@ -93,8 +93,7 @@ static int fat12_ent_bread(struct super_block *sb, struct fat_entry *fatent, | |||
93 | err_brelse: | 93 | err_brelse: |
94 | brelse(bhs[0]); | 94 | brelse(bhs[0]); |
95 | err: | 95 | err: |
96 | printk(KERN_ERR "FAT: FAT read failed (blocknr %llu)\n", | 96 | printk(KERN_ERR "FAT: FAT read failed (blocknr %llu)\n", (llu)blocknr); |
97 | (unsigned long long)blocknr); | ||
98 | return -EIO; | 97 | return -EIO; |
99 | } | 98 | } |
100 | 99 | ||
@@ -107,7 +106,7 @@ static int fat_ent_bread(struct super_block *sb, struct fat_entry *fatent, | |||
107 | fatent->bhs[0] = sb_bread(sb, blocknr); | 106 | fatent->bhs[0] = sb_bread(sb, blocknr); |
108 | if (!fatent->bhs[0]) { | 107 | if (!fatent->bhs[0]) { |
109 | printk(KERN_ERR "FAT: FAT read failed (blocknr %llu)\n", | 108 | printk(KERN_ERR "FAT: FAT read failed (blocknr %llu)\n", |
110 | (unsigned long long)blocknr); | 109 | (llu)blocknr); |
111 | return -EIO; | 110 | return -EIO; |
112 | } | 111 | } |
113 | fatent->nr_bhs = 1; | 112 | fatent->nr_bhs = 1; |