Skip to content

Commit

Permalink
MAX_LFS_FILESIZE definition for 64bit needs LL...
Browse files Browse the repository at this point in the history
Signed-off-by: Al Viro <[email protected]>
  • Loading branch information
Al Viro committed Oct 10, 2012
1 parent 35c2a7f commit 614c321
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/linux/fs.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 614c321

Please sign in to comment.