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 | 341e44275812fb922644389f10e33ecf2f7b221c (patch) | |
tree | 871c546eba10602130223ce0f6133d4130c40242 /ufs | |
parent | 8fb12c8cdd3e204dd1918be1e8ec8836dcebc286 (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.
Diffstat (limited to 'ufs')
-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; } |