From bacdb6105e91a7f7ce49a61ee433051ec9e2f63e Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Fri, 19 Sep 1997 19:14:10 +0000 Subject: (read_disknode): RR should be RL. Assign 0's type-correctly to NP->dn->translator and ->translen. (diskfs_node_norefs): The translator field is in NP->dn, not NP. --- isofs/inode.c | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/isofs/inode.c b/isofs/inode.c index cf74ecb7..29f35233 100644 --- a/isofs/inode.c +++ b/isofs/inode.c @@ -422,7 +422,7 @@ read_disknode (struct node *np, struct dirrect *dr, } } - if (rr->valid & VALID_TR) + if (rl->valid & VALID_TR) { st->st_mode |= S_IPTRANS; np->dn->translen = rl->translen; @@ -430,8 +430,11 @@ read_disknode (struct node *np, struct dirrect *dr, rl->trans = 0; } else - np->dn->translator = np->dn->translen = 0; - + { + np->dn->translator = 0; + np->dn->translen = 0; + } + diskfs_end_catch_exception (); return 0; @@ -456,8 +459,8 @@ diskfs_node_norefs (struct node *np) assert (node_cache[np->cache_id - 1].np == np); node_cache[np->cache_id - 1].np = 0; - if (np->translator) - free (np->translator); + if (np->dn->translator) + free (np->dn->translator); assert (!np->dn->fileinfo); free (np->dn); -- cgit v1.2.3