summaryrefslogtreecommitdiff
path: root/ufs
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1994-09-16 15:58:55 +0000
committerMichael I. Bushnell <mib@gnu.org>1994-09-16 15:58:55 +0000
commit0f6347e6bd553ce2cc5c5f18c5a2c4496cf902a4 (patch)
tree2a49a912f152f5e7e4ae0a7f6adcfaa4fc8d20ef /ufs
parent3b0c127a7837931e870dea008564218e3d7c101c (diff)
Formerly inode.c.~32~
Diffstat (limited to 'ufs')
-rw-r--r--ufs/inode.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ufs/inode.c b/ufs/inode.c
index bfa50ece..f3f17086 100644
--- a/ufs/inode.c
+++ b/ufs/inode.c
@@ -179,7 +179,7 @@ read_disknode (struct node *np)
return err;
st->st_fstype = FSTYPE_UFS;
- st->st_fsid = 0; /* XXX should fill this */
+ st->st_fsid = getpid ();
st->st_ino = np->dn->number;
st->st_gen = di->di_gen;
st->st_rdev = di->di_rdev;
@@ -392,7 +392,7 @@ diskfs_set_statfs (struct fsys_statfsbuf *st)
- (sblock->fs_dsize - st->fsys_stb_bfree));
st->fsys_stb_files = sblock->fs_ncg * sblock->fs_ipg - 2; /* not 0 or 1 */
st->fsys_stb_ffree = sblock->fs_cstotal.cs_nifree;
- st->fsys_stb_fsid = 0;
+ st->fsys_stb_fsid = getpid ();
return 0;
}