summaryrefslogtreecommitdiff
path: root/libdiskfs/dir-lookup.c
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1995-07-21 17:30:16 +0000
committerMichael I. Bushnell <mib@gnu.org>1995-07-21 17:30:16 +0000
commita1bc2195b1cc130a53df9ff19fb60e4f6c781e43 (patch)
treea206ac2f43acf779a6818bc611c73c5e90bdd0bd /libdiskfs/dir-lookup.c
parent18c61c4ddbc64ce372238097d5043159ec4f7c8a (diff)
(diskfs_S_dir_lookup): Examine the active translator on NP, not on
diskfs_root_node, to see if translator usage is necessary.
Diffstat (limited to 'libdiskfs/dir-lookup.c')
-rw-r--r--libdiskfs/dir-lookup.c3
1 files changed, 1 insertions, 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;