summaryrefslogtreecommitdiff
path: root/libdiskfs
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1996-02-06 22:08:17 +0000
committerMiles Bader <miles@gnu.org>1996-02-06 22:08:17 +0000
commit6a8333b229368cb1d2d126fd9d344dab79a51749 (patch)
treef83ffe694f659691d777c973e55263f345d310db /libdiskfs
parent7626438832cee94d107b16d8f4d630cdb1728006 (diff)
(diskfs_S_dir_lookup): Make the new peropen we'll pass as dotdot to the
fetch_root with the same flags as DIRCRED->po.
Diffstat (limited to 'libdiskfs')
-rw-r--r--libdiskfs/dir-lookup.c4
1 files changed, 3 insertions, 1 deletions
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;