diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2012-10-10 01:06:20 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-10-10 01:06:20 -0400 |
commit | 614c321f4bf130766ff66fd142b1da47ab037303 (patch) | |
tree | 0b95be62c7ee296caa6b1dc54e4465eb123ba1b2 | |
parent | 35c2a7f4908d404c9124c2efc6ada4640ca4d5d5 (diff) | |
download | op-kernel-dev-614c321f4bf130766ff66fd142b1da47ab037303.zip op-kernel-dev-614c321f4bf130766ff66fd142b1da47ab037303.tar.gz |
MAX_LFS_FILESIZE definition for 64bit needs LL...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
-rw-r--r-- | include/linux/fs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h index b7e7060..ec911ae 100644 --- 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)0x7fffffffffffffffLL) #endif #define FL_POSIX 1 |