DEVEL15-darwin-fake-more-free-20070104

fake more free disk space for dumb apps


(cherry picked from commit 349474755bbfa9b56bb751ebb8a4adcee411e9da)
This commit is contained in:
Derrick Brashear 2007-01-04 22:17:57 +00:00
parent 3458f6630e
commit 013de9001b

View File

@ -381,7 +381,13 @@ afs_statfs(struct mount *mp, STATFS_TYPE *abp, CTX_TYPE ctx)
* storing something there.
*/
abp->f_blocks = abp->f_bfree = abp->f_bavail = abp->f_files =
abp->f_ffree = 2000000;
abp->f_ffree =
#ifdef AFS_DARWIN80_ENV
2147483648
#else
2000000
#endif
;
if (abp != sysstat) {
abp->f_fsid.val[0] = sysstat->f_fsid.val[0];