diff options
author | Thomas Bushnell <thomas@gnu.org> | 1996-08-14 18:10:19 +0000 |
---|---|---|
committer | Thomas Bushnell <thomas@gnu.org> | 1996-08-14 18:10:19 +0000 |
commit | 2026ce0437cca8cb15149a5c488f93110f69131d (patch) | |
tree | 7bdeded20cbe0cc5222cb8aeeb773f761cc7cc79 /nfsd/ops.c | |
parent | 332efe88b6fbf47a33cd27a4b9b22276a30c181f (diff) | |
download | hurd-2026ce0437cca8cb15149a5c488f93110f69131d.tar.gz hurd-2026ce0437cca8cb15149a5c488f93110f69131d.tar.bz2 hurd-2026ce0437cca8cb15149a5c488f93110f69131d.zip |
*** empty log message ***
Diffstat (limited to 'nfsd/ops.c')
-rw-r--r-- | nfsd/ops.c | 20 |
1 files changed, 10 insertions, 10 deletions
@@ -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}, |