diff options
author | Thomas Bushnell <thomas@gnu.org> | 1997-05-20 19:57:13 +0000 |
---|---|---|
committer | Thomas Bushnell <thomas@gnu.org> | 1997-05-20 19:57:13 +0000 |
commit | f44d3a4bc1d086012171cf68d4e198c7b4f184f8 (patch) | |
tree | 099f492dbe4c028d3909179afe67ed97ecbf2a3a /nfs/nfs.h | |
parent | 340a92d864a03c81452abc7b6fb63135f82b1ce6 (diff) | |
download | hurd-f44d3a4bc1d086012171cf68d4e198c7b4f184f8.tar.gz hurd-f44d3a4bc1d086012171cf68d4e198c7b4f184f8.tar.bz2 hurd-f44d3a4bc1d086012171cf68d4e198c7b4f184f8.zip |
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.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 **, |