diff options
author | Miles Bader <miles@gnu.org> | 1997-03-02 21:12:48 +0000 |
---|---|---|
committer | Miles Bader <miles@gnu.org> | 1997-03-02 21:12:48 +0000 |
commit | 5ac27d257452afd1a214c80c105aa649c05e9f19 (patch) | |
tree | 467927960cb501b37fcc2af6c1ae0112ae97a9a5 /libnetfs/file-exec.c | |
parent | 36ceb78f36c6135d3d834d135c58752c42ae7835 (diff) |
(netfs_S_file_exec):
Pass context arg to netfs_make_peropen instead of parent node.
Diffstat (limited to 'libnetfs/file-exec.c')
-rw-r--r-- | libnetfs/file-exec.c | 5 |
1 files 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), |