mirror of
https://github.com/adulau/aha.git
synced 2024-12-27 11:16:11 +00:00
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>
This commit is contained in:
parent
95ebc3a793
commit
28ba0ec64c
1 changed files with 1 additions and 1 deletions
|
@ -524,7 +524,7 @@ static int jfs_fill_super(struct super_block *sb, void *data, int silent)
|
||||||
* Page cache is indexed by long.
|
* Page cache is indexed by long.
|
||||||
* I would use MAX_LFS_FILESIZE, but it's only half as big
|
* I would use MAX_LFS_FILESIZE, but it's only half as big
|
||||||
*/
|
*/
|
||||||
sb->s_maxbytes = min(((u64) PAGE_CACHE_SIZE << 32) - 1, sb->s_maxbytes);
|
sb->s_maxbytes = min(((u64) PAGE_CACHE_SIZE << 32) - 1, (u64)sb->s_maxbytes);
|
||||||
#endif
|
#endif
|
||||||
sb->s_time_gran = 1;
|
sb->s_time_gran = 1;
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Reference in a new issue