From 2026ce0437cca8cb15149a5c488f93110f69131d Mon Sep 17 00:00:00 2001 From: Thomas Bushnell Date: Wed, 14 Aug 1996 18:10:19 +0000 Subject: *** empty log message *** --- nfsd/ops.c | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'nfsd/ops.c') diff --git a/nfsd/ops.c b/nfsd/ops.c index 4319d226..efcfa103 100644 --- a/nfsd/ops.c +++ b/nfsd/ops.c @@ -49,7 +49,7 @@ op_getattr (struct cache_handle *c, err = io_stat (c->port, &st); if (!err) - *reply = encode_fattr (*reply, &st); + *reply = encode_fattr (*reply, &st, version); return err; } @@ -133,7 +133,7 @@ op_setattr (struct cache_handle *c, if (err) return err; - *reply = encode_fattr (*reply, &st); + *reply = encode_fattr (*reply, &st, version); return 0; } @@ -173,7 +173,7 @@ op_lookup (struct cache_handle *c, if (!newc) return ESTALE; *reply = encode_fhandle (*reply, newc->handle); - *reply = encode_fattr (*reply, &st); + *reply = encode_fattr (*reply, &st, version); return 0; } @@ -232,7 +232,7 @@ op_read (struct cache_handle *c, if (err) return err; - *reply = encode_fattr (*reply, &st); + *reply = encode_fattr (*reply, &st, version); *reply = encode_data (*reply, bp, buflen); return 0; } @@ -273,7 +273,7 @@ op_write (struct cache_handle *c, err = io_stat (c->port, &st); if (err) return err; - *reply = encode_fattr (*reply, &st); + *reply = encode_fattr (*reply, &st, version); return 0; } @@ -345,7 +345,7 @@ op_create (struct cache_handle *c, return ESTALE; *reply = encode_fhandle (*reply, newc->handle); - *reply = encode_fattr (*reply, &st); + *reply = encode_fattr (*reply, &st, version); return 0; } @@ -500,7 +500,7 @@ op_mkdir (struct cache_handle *c, if (!newc) return ESTALE; *reply = encode_fhandle (*reply, newc->handle); - *reply = encode_fattr (*reply, &st); + *reply = encode_fattr (*reply, &st, version); return 0; } @@ -649,10 +649,10 @@ op_getport (struct cache_handle *c, } -struct proctable nfstable = +struct proctable nfs2table = { - NFSPROC_NULL, /* first proc */ - NFSPROC_STATFS, /* last proc */ + NFS2PROC_NULL, /* first proc */ + NFS2PROC_STATFS, /* last proc */ { { op_null, 0, 0, 0}, { op_getattr, 0, 1, 1}, -- cgit v1.2.3