summaryrefslogtreecommitdiff
path: root/ufs/inode.c
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
commit7fe42b6346b8ea3189470088c20448b09aa03a60 (patch)
tree91ef7c0ebccb8e36d9914305e419c8c66d57d971 /ufs/inode.c
parent45851fae7b2f90ede1f1a1a462f9a29e103aad4c (diff)
(iget): Initialize NP->cache_id.
Diffstat (limited to 'ufs/inode.c')
-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);