diff options
author | Michael I. Bushnell <mib@gnu.org> | 1994-09-16 15:58:55 +0000 |
---|---|---|
committer | Michael I. Bushnell <mib@gnu.org> | 1994-09-16 15:58:55 +0000 |
commit | 0963f46775c7f8eaea3bc6086b2217f8ebab8af8 (patch) | |
tree | 3ffd3a549a29562d404ff787d726c8f86fffca60 /ufs | |
parent | 23b0fc0ead7388e0bfcf8cd2e1ad1a6f646187cc (diff) |
Formerly inode.c.~32~
Diffstat (limited to 'ufs')
-rw-r--r-- | ufs/inode.c | 4 |
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; } |