From 6a8333b229368cb1d2d126fd9d344dab79a51749 Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Tue, 6 Feb 1996 22:08:17 +0000 Subject: (diskfs_S_dir_lookup): Make the new peropen we'll pass as dotdot to the fetch_root with the same flags as DIRCRED->po. --- libdiskfs/dir-lookup.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libdiskfs/dir-lookup.c b/libdiskfs/dir-lookup.c index c3c2e97e..e61fef61 100644 --- a/libdiskfs/dir-lookup.c +++ b/libdiskfs/dir-lookup.c @@ -222,7 +222,9 @@ diskfs_S_dir_lookup (struct protid *dircred, /* Create an unauthenticated port for DNP, and then unlock it. */ error = - diskfs_create_protid (diskfs_make_peropen (dnp, 0, dircred->po->dotdotport), + diskfs_create_protid (diskfs_make_peropen (dnp, + dircred->po->openstat, + dircred->po->dotdotport), 0, 0, 0, 0, &newpi); if (error) goto out; -- cgit v1.2.3