From eb0e52b8d5e58846b70daa84a711bd205a71c5c1 Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Thu, 22 Jun 1995 18:49:21 +0000 Subject: (diskfs_S_dir_lookup): Correctly parethenize O_NOTRANS flags test. --- libdiskfs/dir-lookup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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))) { -- cgit v1.2.3