summaryrefslogtreecommitdiff
path: root/ufs
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1996-04-03 21:03:46 +0000
committerMichael I. Bushnell <mib@gnu.org>1996-04-03 21:03:46 +0000
commit362c57474bc6db7d73c2c2800ca13b4711f80768 (patch)
tree8ee9749c490b241764285131541611927b7419c4 /ufs
parent75619fcabe299c523f2bc8dfc61ffe4156d65405 (diff)
(iget): Initialize NP->cache_id.
Diffstat (limited to 'ufs')
-rw-r--r--ufs/inode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ufs/inode.c b/ufs/inode.c
index 81fc8f75..9c1e1c7e 100644
--- a/ufs/inode.c
+++ b/ufs/inode.c
@@ -66,7 +66,7 @@ iget (ino_t inum, struct node **npp)
dn = malloc (sizeof (struct disknode));
- dn->number = inum;
+ np->cache_id = dn->number = inum;
dn->dirents = 0;
rwlock_init (&dn->allocptrlock);