diff options
author | Michael I. Bushnell <mib@gnu.org> | 1996-04-03 21:03:46 +0000 |
---|---|---|
committer | Michael I. Bushnell <mib@gnu.org> | 1996-04-03 21:03:46 +0000 |
commit | 362c57474bc6db7d73c2c2800ca13b4711f80768 (patch) | |
tree | 8ee9749c490b241764285131541611927b7419c4 | |
parent | 75619fcabe299c523f2bc8dfc61ffe4156d65405 (diff) |
(iget): Initialize NP->cache_id.
-rw-r--r-- | ufs/inode.c | 2 |
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); |