summaryrefslogtreecommitdiff
path: root/nfs/nfs.h
diff options
context:
space:
mode:
authorThomas Bushnell <thomas@gnu.org>1997-05-20 19:57:13 +0000
committerThomas Bushnell <thomas@gnu.org>1997-05-20 19:57:13 +0000
commitf44d3a4bc1d086012171cf68d4e198c7b4f184f8 (patch)
tree099f492dbe4c028d3909179afe67ed97ecbf2a3a /nfs/nfs.h
parent340a92d864a03c81452abc7b6fb63135f82b1ce6 (diff)
Tue May 20 15:35:39 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
* nfs.c (xdr_encode_create_state): New arg OWNER. Set the owner of the new file to it. All callers changed. * nfs.h (xdr_encode_create_state): Update prototype. * ops.c (netfs_attempt_mkdir): If owner didn't get set correctly (some servers ignore it) then try a chown. (netfs_attempt_create_file): Likewise.
Diffstat (limited to 'nfs/nfs.h')
-rw-r--r--nfs/nfs.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/nfs/nfs.h b/nfs/nfs.h
index 2007237c..51cd3e46 100644
--- a/nfs/nfs.h
+++ b/nfs/nfs.h
@@ -1,5 +1,5 @@
/* Data structures and global variables for NFS client
- Copyright (C) 1994, 1995, 1996 Free Software Foundation
+ Copyright (C) 1994, 1995, 1996, 1997 Free Software Foundation
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License as
@@ -157,7 +157,7 @@ int *xdr_encode_sattr_ids (int *, u_int, u_int);
int *xdr_encode_sattr_size (int *, off_t);
int *xdr_encode_sattr_times (int *, struct timespec *, struct timespec *);
int *xdr_encode_sattr_stat (int *, struct stat *);
-int *xdr_encode_create_state (int *, mode_t);
+int *xdr_encode_create_state (int *, mode_t, uid_t);
int *xdr_decode_fattr (int *, struct stat *);
int *xdr_decode_string (int *, char *);
int *nfs_initialize_rpc (int, struct iouser *, size_t, void **,