From 0963f46775c7f8eaea3bc6086b2217f8ebab8af8 Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Fri, 16 Sep 1994 15:58:55 +0000 Subject: Formerly inode.c.~32~ --- ufs/inode.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ufs') 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; } -- cgit v1.2.3