summaryrefslogtreecommitdiff
path: root/libdiskfs/dir-lookup.c
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1994-09-16 15:53:01 +0000
committerMichael I. Bushnell <mib@gnu.org>1994-09-16 15:53:01 +0000
commit3b0c127a7837931e870dea008564218e3d7c101c (patch)
tree3ff2d430ecf7c6da7433d9c897851a6a85725c5c /libdiskfs/dir-lookup.c
parent0065fe67e96993bcb24d280635db0a6b78675a11 (diff)
Formerly dir-lookup.c.~8~
Diffstat (limited to 'libdiskfs/dir-lookup.c')
-rw-r--r--libdiskfs/dir-lookup.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/libdiskfs/dir-lookup.c b/libdiskfs/dir-lookup.c
index e764cc3c..d96acce6 100644
--- a/libdiskfs/dir-lookup.c
+++ b/libdiskfs/dir-lookup.c
@@ -216,12 +216,9 @@ diskfs_S_dir_lookup (struct protid *dircred,
ngids = dircred->ngids;
}
- /* We turn off O_NOLINK here if this is not the last
- component because fsys_getroot always thinks it's the
- last node. */
error = fsys_getroot (control, dirfile, MACH_MSG_TYPE_COPY_SEND,
uids, nuids, gids, ngids,
- lastcomp ? flags : flags & ~O_NOLINK,
+ lastcomp ? flags : 0,
retry, retryname, returned_port);
/* If we got MACH_SEND_INVALID_DEST or MIG_SERVER_DIED, then