mirror of
https://git.openafs.org/openafs.git
synced 2025-01-19 15:30:14 +00:00
STABLE14-darwin-fake-more-free-20070104
fake more free disk space for dumb apps
(cherry picked from commit 349474755b
)
This commit is contained in:
parent
6599182df2
commit
5397775f84
@ -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];
|
||||
|
Loading…
Reference in New Issue
Block a user