Commit 28ba0ec64ca0f6ad2b0338ccec0b00a4e64e7a69
Committed by
Al Viro
1 parent
95ebc3a793
Exists in
master
and in
4 other branches
jfs: Fix 32bit build warning
loff_t is a type that isn't entirely dependant upon 32 v 64bit choice Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff
fs/jfs/super.c
... | ... | @@ -524,7 +524,7 @@ |
524 | 524 | * Page cache is indexed by long. |
525 | 525 | * I would use MAX_LFS_FILESIZE, but it's only half as big |
526 | 526 | */ |
527 | - sb->s_maxbytes = min(((u64) PAGE_CACHE_SIZE << 32) - 1, sb->s_maxbytes); | |
527 | + sb->s_maxbytes = min(((u64) PAGE_CACHE_SIZE << 32) - 1, (u64)sb->s_maxbytes); | |
528 | 528 | #endif |
529 | 529 | sb->s_time_gran = 1; |
530 | 530 | return 0; |