From a1bc2195b1cc130a53df9ff19fb60e4f6c781e43 Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Fri, 21 Jul 1995 17:30:16 +0000 Subject: (diskfs_S_dir_lookup): Examine the active translator on NP, not on diskfs_root_node, to see if translator usage is necessary. --- libdiskfs/dir-lookup.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libdiskfs/dir-lookup.c b/libdiskfs/dir-lookup.c index 98cb39a1..540b159f 100644 --- a/libdiskfs/dir-lookup.c +++ b/libdiskfs/dir-lookup.c @@ -170,8 +170,7 @@ diskfs_S_dir_lookup (struct protid *dircred, /* If this is translated, start the translator (if necessary) and return. */ if ((((flags & O_NOTRANS) == 0) || !lastcomp) - && (np->istranslated - || fshelp_translated (&diskfs_root_node->transbox))) + && (np->istranslated || fshelp_translated (&np->transbox))) { mach_port_t dirport; -- cgit v1.2.3