diff options
author | Roland McGrath <roland@gnu.org> | 1998-12-27 10:20:53 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 1998-12-27 10:20:53 +0000 |
commit | 4b9fa742adb5040b982930cb1624954656c1294d (patch) | |
tree | e89224da1313f006a712f16f0cf0b86cb44e0778 | |
parent | ec10364b89a9355798af92c714683c235e64681a (diff) |
1998-12-27 Roland McGrath <roland@baalperazim.frob.com>
* inode.c (diskfs_set_statfs): Remove __ from struct members.
1998-12-21 Mark Kettenis <kettenis@phys.uva.nl>
* inode.c (diskfs_set_statfs): Fill in statfs members that are
used to implement statvfs.
-rw-r--r-- | ufs/inode.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ufs/inode.c b/ufs/inode.c index 658d6187..1901788e 100644 --- a/ufs/inode.c +++ b/ufs/inode.c @@ -524,6 +524,8 @@ diskfs_set_statfs (struct statfs *st) st->f_ffree = sblock->fs_cstotal.cs_nifree; st->f_fsid = getpid (); st->f_namelen = 0; + st->f_favail = st->f_ffree; + st->f_frsize = sblock->fs_fsize; return 0; } |