diff options
Diffstat (limited to 'include/linux/fs.h')
| -rw-r--r-- | include/linux/fs.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h index 14a97194b34b..304991a80e23 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h | |||
| @@ -929,7 +929,7 @@ static inline struct file *get_file(struct file *f) | |||
| 929 | /* Page cache limit. The filesystems should put that into their s_maxbytes | 929 | /* Page cache limit. The filesystems should put that into their s_maxbytes |
| 930 | limits, otherwise bad things can happen in VM. */ | 930 | limits, otherwise bad things can happen in VM. */ |
| 931 | #if BITS_PER_LONG==32 | 931 | #if BITS_PER_LONG==32 |
| 932 | #define MAX_LFS_FILESIZE (((loff_t)PAGE_CACHE_SIZE << (BITS_PER_LONG-1))-1) | 932 | #define MAX_LFS_FILESIZE (((loff_t)PAGE_SIZE << (BITS_PER_LONG-1))-1) |
| 933 | #elif BITS_PER_LONG==64 | 933 | #elif BITS_PER_LONG==64 |
| 934 | #define MAX_LFS_FILESIZE ((loff_t)0x7fffffffffffffffLL) | 934 | #define MAX_LFS_FILESIZE ((loff_t)0x7fffffffffffffffLL) |
| 935 | #endif | 935 | #endif |
| @@ -2067,7 +2067,7 @@ extern int generic_update_time(struct inode *, struct timespec *, int); | |||
| 2067 | /* /sys/fs */ | 2067 | /* /sys/fs */ |
| 2068 | extern struct kobject *fs_kobj; | 2068 | extern struct kobject *fs_kobj; |
| 2069 | 2069 | ||
| 2070 | #define MAX_RW_COUNT (INT_MAX & PAGE_CACHE_MASK) | 2070 | #define MAX_RW_COUNT (INT_MAX & PAGE_MASK) |
| 2071 | 2071 | ||
| 2072 | #ifdef CONFIG_MANDATORY_FILE_LOCKING | 2072 | #ifdef CONFIG_MANDATORY_FILE_LOCKING |
| 2073 | extern int locks_mandatory_locked(struct file *); | 2073 | extern int locks_mandatory_locked(struct file *); |
