diff options
author | Michael I. Bushnell <mib@gnu.org> | 1996-05-09 22:04:10 +0000 |
---|---|---|
committer | Michael I. Bushnell <mib@gnu.org> | 1996-05-09 22:04:10 +0000 |
commit | 668e06a30834047a937313a755e6fb012088fbfa (patch) | |
tree | c5feefa0712be75c153611a53239cdeff38aefb7 /libnetfs | |
parent | c60d39b41581afc6437e01c9a05189d1aa348aa6 (diff) |
(netfs_S_dir_rename): Accept and pass through excl flag.
Diffstat (limited to 'libnetfs')
-rw-r--r-- | libnetfs/dir-rename.c | 6 |
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; |