summaryrefslogtreecommitdiff
path: root/libnetfs
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1997-03-02 21:13:00 +0000
committerMiles Bader <miles@gnu.org>1997-03-02 21:13:00 +0000
commit3964a4208704f78383723fa5535cb370fbf6c6c7 (patch)
tree149b0abaa7b101dcaf2a4bd0e546aa42077fdaac /libnetfs
parent5ac27d257452afd1a214c80c105aa649c05e9f19 (diff)
(netfs_S_dir_mkfile):
Pass context arg to netfs_make_peropen instead of parent node.
Diffstat (limited to 'libnetfs')
-rw-r--r--libnetfs/dir-mkfile.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/libnetfs/dir-mkfile.c b/libnetfs/dir-mkfile.c
index 5062427f..abd8d0ad 100644
--- a/libnetfs/dir-mkfile.c
+++ b/libnetfs/dir-mkfile.c
@@ -1,5 +1,5 @@
/*
- Copyright (C) 1995, 1996 Free Software Foundation, Inc.
+ Copyright (C) 1995, 1996, 1997 Free Software Foundation, Inc.
Written by Michael I. Bushnell, p/BSG.
This file is part of the GNU Hurd.
@@ -37,8 +37,7 @@ netfs_S_dir_mkfile (struct protid *diruser, int flags, mode_t mode,
{
/* the dir is now unlocked and NP is locked */
flags &= OPENONLY_STATE_MODES;
- newpi = netfs_make_protid (netfs_make_peropen (np, flags,
- diruser->po->dotdotport),
+ newpi = netfs_make_protid (netfs_make_peropen (np, flags, diruser->po),
iohelp_dup_iouser (diruser->user));
*newfile = ports_get_right (newpi);
*newfiletype = MACH_MSG_TYPE_MAKE_SEND;