summaryrefslogtreecommitdiff
path: root/libdiskfs/dir-lookup.c
diff options
context:
space:
mode:
Diffstat (limited to 'libdiskfs/dir-lookup.c')
-rw-r--r--libdiskfs/dir-lookup.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libdiskfs/dir-lookup.c b/libdiskfs/dir-lookup.c
index e61fef61..fd0ebc72 100644
--- a/libdiskfs/dir-lookup.c
+++ b/libdiskfs/dir-lookup.c
@@ -222,8 +222,7 @@ 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,
- dircred->po->openstat,
+ diskfs_create_protid (diskfs_make_peropen (dnp, 0,
dircred->po->dotdotport),
0, 0, 0, 0, &newpi);
if (error)