]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
MAX_LFS_FILESIZE definition for 64bit needs LL...
authorAl Viro <viro@zeniv.linux.org.uk>
Wed, 10 Oct 2012 05:06:20 +0000 (01:06 -0400)
committerAl 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

index b7e70609243d8b26ab3c67820561a4a837679270..ec911aeea9688ed12a77677051daf631ac7ac6dc 100644 (file)
@@ -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