summaryrefslogtreecommitdiff
path: root/libnetfs
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1996-05-09 22:04:10 +0000
committerMichael I. Bushnell <mib@gnu.org>1996-05-09 22:04:10 +0000
commit668e06a30834047a937313a755e6fb012088fbfa (patch)
treec5feefa0712be75c153611a53239cdeff38aefb7 /libnetfs
parentc60d39b41581afc6437e01c9a05189d1aa348aa6 (diff)
(netfs_S_dir_rename): Accept and pass through excl flag.
Diffstat (limited to 'libnetfs')
-rw-r--r--libnetfs/dir-rename.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libnetfs/dir-rename.c b/libnetfs/dir-rename.c
index b23ffaa3..6898c5e9 100644
--- a/libnetfs/dir-rename.c
+++ b/libnetfs/dir-rename.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.
@@ -23,7 +23,7 @@
error_t
netfs_S_dir_rename (struct protid *fromdiruser, char *fromname,
- struct protid *todiruser, char *toname)
+ struct protid *todiruser, char *toname, int excl)
{
error_t err;
@@ -35,7 +35,7 @@ netfs_S_dir_rename (struct protid *fromdiruser, char *fromname,
/* Note that nothing is locked here */
err = netfs_attempt_rename (fromdiruser->credential, fromdiruser->po->np,
- fromname, todiruser->po->np, toname);
+ fromname, todiruser->po->np, toname, excl);
if (!err)
mach_port_deallocate (mach_task_self (), todiruser->pi.port_right);
return err;