aboutsummaryrefslogtreecommitdiffstats
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)
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)
1132#if BITS_PER_LONG==32 1132#if BITS_PER_LONG==32
1133#define MAX_LFS_FILESIZE (((loff_t)PAGE_CACHE_SIZE << (BITS_PER_LONG-1))-1) 1133#define MAX_LFS_FILESIZE (((loff_t)PAGE_CACHE_SIZE << (BITS_PER_LONG-1))-1)
1134#elif BITS_PER_LONG==64 1134#elif BITS_PER_LONG==64
1135#define MAX_LFS_FILESIZE ((loff_t)0x7fffffffffffffff) 1135#define MAX_LFS_FILESIZE ((loff_t)0x7fffffffffffffffLL)
1136#endif 1136#endif
1137 1137
1138#define FL_POSIX 1 1138#define FL_POSIX 1