summaryrefslogtreecommitdiff
path: root/libnetfs/dir-link.c
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1996-05-09 22:03:34 +0000
committerMichael I. Bushnell <mib@gnu.org>1996-05-09 22:03:34 +0000
commitc60d39b41581afc6437e01c9a05189d1aa348aa6 (patch)
treec4fb19bc02dfd839161362789aa1ad31f2c25672 /libnetfs/dir-link.c
parent5c10e50f5b3ae341e29bdefcb5cb67762043fdda (diff)
(netfs_S_dir_link): Accept and pass through excl arg.
Diffstat (limited to 'libnetfs/dir-link.c')
-rw-r--r--libnetfs/dir-link.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/libnetfs/dir-link.c b/libnetfs/dir-link.c
index 060f2a02..35cc6f7a 100644
--- a/libnetfs/dir-link.c
+++ b/libnetfs/dir-link.c
@@ -1,5 +1,5 @@
/*
- Copyright (C) 1995 Free Software Foundation, Inc.
+ Copyright (C) 1995, 1996 Free Software Foundation, Inc.
Written by Michael I. Bushnell, p/BSG.
This file is part of the GNU Hurd.
@@ -22,7 +22,8 @@
#include "fs_S.h"
error_t
-netfs_S_dir_link (struct protid *diruser, struct protid *fileuser, char *name)
+netfs_S_dir_link (struct protid *diruser, struct protid *fileuser, char *name,
+ int excl)
{
error_t err;
@@ -34,7 +35,7 @@ netfs_S_dir_link (struct protid *diruser, struct protid *fileuser, char *name)
/* Note that nothing is locked here */
err = netfs_attempt_link (diruser->credential, diruser->po->np,
- fileuser->po->np, name);
+ fileuser->po->np, name, excl);
if (!err)
mach_port_deallocate (mach_task_self (), fileuser->pi.port_right);
return err;