From f44d3a4bc1d086012171cf68d4e198c7b4f184f8 Mon Sep 17 00:00:00 2001 From: Thomas Bushnell Date: Tue, 20 May 1997 19:57:13 +0000 Subject: Tue May 20 15:35:39 1997 Thomas Bushnell, n/BSG * 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. --- nfs/nfs.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'nfs/nfs.h') 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 **, -- cgit v1.2.3