STABLE14-darwin-fake-more-free-20070104

fake more free disk space for dumb apps


(cherry picked from commit 349474755b)
This commit is contained in:
Derrick Brashear 2007-01-04 22:09:50 +00:00
parent 6599182df2
commit 5397775f84

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];