summaryrefslogtreecommitdiff
path: root/ufs/inode.c
diff options
context:
space:
mode:
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);