projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
95ebc3a
)
jfs: Fix 32bit build warning
author
Alan Cox
<
[email protected]
>
Fri, 6 Nov 2009 11:31:06 +0000
(11:31 +0000)
committer
Al Viro
<
[email protected]
>
Tue, 22 Dec 2009 17:27:35 +0000
(12:27 -0500)
loff_t is a type that isn't entirely dependant upon 32 v 64bit choice
Signed-off-by: Alan Cox <
[email protected]
>
Signed-off-by: Al Viro <
[email protected]
>
fs/jfs/super.c
patch
|
blob
|
history
diff --git
a/fs/jfs/super.c
b/fs/jfs/super.c
index 2234c73fc5773531bd59ee81b3bbdf45d05a83ff..d929a822a74e6410fd89727f4351e164f8e65ede 100644
(file)
--- a/
fs/jfs/super.c
+++ b/
fs/jfs/super.c
@@
-524,7
+524,7
@@
static int jfs_fill_super(struct super_block *sb, void *data, int silent)
* Page cache is indexed by long.
* 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
sb->s_time_gran = 1;
return 0;