summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1995-06-22 18:49:21 +0000
committerMichael I. Bushnell <mib@gnu.org>1995-06-22 18:49:21 +0000
commiteb0e52b8d5e58846b70daa84a711bd205a71c5c1 (patch)
treed21d5ddaaa30a419690729e6e1d5095f160c8ef8
parent9d58f6df649e0d841f241640212fddd952de2d06 (diff)
(diskfs_S_dir_lookup): Correctly parethenize O_NOTRANS flags test.
-rw-r--r--libdiskfs/dir-lookup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libdiskfs/dir-lookup.c b/libdiskfs/dir-lookup.c
index aa56d6b0..98cb39a1 100644
--- a/libdiskfs/dir-lookup.c
+++ b/libdiskfs/dir-lookup.c
@@ -169,7 +169,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)
+ if ((((flags & O_NOTRANS) == 0) || !lastcomp)
&& (np->istranslated
|| fshelp_translated (&diskfs_root_node->transbox)))
{