summaryrefslogtreecommitdiffstats
path: root/include/linux/fs.h
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2012-10-10 01:06:20 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2012-10-10 01:06:20 -0400
commit614c321f4bf130766ff66fd142b1da47ab037303 (patch)
tree0b95be62c7ee296caa6b1dc54e4465eb123ba1b2 /include/linux/fs.h
parent35c2a7f4908d404c9124c2efc6ada4640ca4d5d5 (diff)
downloadlinux-stable-614c321f4bf130766ff66fd142b1da47ab037303.tar.gz
linux-stable-614c321f4bf130766ff66fd142b1da47ab037303.tar.bz2
linux-stable-614c321f4bf130766ff66fd142b1da47ab037303.zip
MAX_LFS_FILESIZE definition for 64bit needs LL...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include/linux/fs.h')
-rw-r--r--include/linux/fs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h
index b7e70609243d..ec911aeea968 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