From 5ac27d257452afd1a214c80c105aa649c05e9f19 Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Sun, 2 Mar 1997 21:12:48 +0000 Subject: (netfs_S_file_exec): Pass context arg to netfs_make_peropen instead of parent node. --- libnetfs/file-exec.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/libnetfs/file-exec.c b/libnetfs/file-exec.c index 1409fd63..916c03fd 100644 --- a/libnetfs/file-exec.c +++ b/libnetfs/file-exec.c @@ -1,5 +1,5 @@ /* - Copyright (C) 1996 Free Software Foundation, Inc. + Copyright (C) 1996, 1997 Free Software Foundation, Inc. Written by Michael I. Bushnell, p/BSG. This file is part of the GNU Hurd. @@ -122,8 +122,7 @@ netfs_S_file_exec (struct protid *cred, if (! err) { struct protid *newpi = - netfs_make_protid (netfs_make_peropen (np, O_READ, - cred->po->dotdotport), + netfs_make_protid (netfs_make_peropen (np, O_READ, cred->po), iohelp_dup_iouser (cred->user)); err = exec_exec (_netfs_exec, ports_get_right (newpi), -- cgit v1.2.3