projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
35c2a7f
)
MAX_LFS_FILESIZE definition for 64bit needs LL...
author
Al Viro
<viro@zeniv.linux.org.uk>
Wed, 10 Oct 2012 05:06:20 +0000
(
01:06
-0400)
committer
Al Viro
<viro@zeniv.linux.org.uk>
Wed, 10 Oct 2012 05:06:20 +0000
(
01:06
-0400)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
include/linux/fs.h
patch
|
blob
|
blame
|
history
diff --git
a/include/linux/fs.h
b/include/linux/fs.h
index b7e70609243d8b26ab3c67820561a4a837679270..ec911aeea9688ed12a77677051daf631ac7ac6dc 100644
(file)
--- a/
include/linux/fs.h
+++ b/
include/linux/fs.h
@@
-1132,7
+1132,7
@@
static inline int file_check_writeable(struct file *filp)
#if BITS_PER_LONG==32
#define MAX_LFS_FILESIZE (((loff_t)PAGE_CACHE_SIZE << (BITS_PER_LONG-1))-1)
#elif BITS_PER_LONG==64
-#define MAX_LFS_FILESIZE ((loff_t)0x7fffffffffffffff)
+#define MAX_LFS_FILESIZE ((loff_t)0x7fffffffffffffff
LL
)
#endif
#define FL_POSIX 1