diff options
author | Thomas Bushnell <thomas@gnu.org> | 1996-11-18 23:57:04 +0000 |
---|---|---|
committer | Thomas Bushnell <thomas@gnu.org> | 1996-11-18 23:57:04 +0000 |
commit | ae11604e4e92e547030664d8cfc2e448ba66b976 (patch) | |
tree | 4b604db2132382240f49ddf69fc595c055a3f583 /nfs/pager.c | |
parent | e7c792104650598a20172427df71c76fff36659d (diff) |
Mon Nov 18 17:01:38 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
* ops.c (guess_mode_use): Delete function.
(netfs_report_access): Use fshelp_access instead of
guess_mode_use. Change return type.
Sat Nov 16 18:24:55 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
* Makefile (SRCS): Remove `cred.c'.
* cred.c: Delete file.
* nfs.h (struct netcred): Delete type.
(cred_has_uid, cred_has_gid): Delete functions.
(nfs_initialize_rpc): netcred arg now iouser.
* ops.c: Change struct netcred to struct iouser throughout.
* pager.c: Likewise.
* cache.c (netfs_node_norefs): Likewise.
* nfs.c (nfs_initialize_rpc): Convert use of netcred to iouser.
Diffstat (limited to 'nfs/pager.c')
-rw-r--r-- | nfs/pager.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nfs/pager.c b/nfs/pager.c index 687a0e2f..b511429b 100644 --- a/nfs/pager.c +++ b/nfs/pager.c @@ -129,7 +129,7 @@ pager_read_page (struct user_pager_info *pager, if (thisamt > read_size) thisamt = read_size; - p = nfs_initialize_rpc (NFSPROC_READ, (struct netcred *)-1, 0, + p = nfs_initialize_rpc (NFSPROC_READ, (struct iouser *)-1, 0, &rpcbuf, np, -1); p = xdr_encode_fhandle (p, &np->nn->handle); *p++ = htonl (offset); @@ -197,7 +197,7 @@ pager_write_page (struct user_pager_info *pager, if (amt > write_size) amt = write_size; - p = nfs_initialize_rpc (NFSPROC_WRITE, (struct netcred *) -1, + p = nfs_initialize_rpc (NFSPROC_WRITE, (struct iouser *) -1, amt, &rpcbuf, np, -1); p = xdr_encode_fhandle (p, &np->nn->handle); *p++ = 0; |