| 266 | | sb->s_maxbytes = ~0ULL; /* seek */ |
| | 266 | /* Required for seek/sendfile. |
| | 267 | * |
| | 268 | * Must by less than or equal to INT64_MAX despite the fact that the |
| | 269 | * declaration of this variable is unsigned long long. See determination |
| | 270 | * of 'loff_t max' in fs/read_write.c / do_sendfile(). I don't know the |
| | 271 | * correct limit but MAX_LFS_FILESIZE (8TB-1 on 32-bit boxes) takes the |
| | 272 | * page cache into account and is the suggested limit. */ |
| | 273 | # if defined MAX_LFS_FILESIZE |
| | 274 | sb->s_maxbytes = MAX_LFS_FILESIZE; |
| | 275 | # else |
| | 276 | sb->s_maxbytes = 0x7fffffffffffffffULL; |
| | 277 | # endif |