Subject: [nfsv4] SET_SSV4res improperly specified

From: Fredric Isaman <[email-masked]>
Date: Wed, 28 Feb 2007 14:47:51 -0500 (EST)

SET_SSV4res has no way to return error codes.  Below is a patch that 
encodes the result in a manner consistent with other operations.

In a similar vein, the list of legitimate error codes for SET_SSV seems a 
little short.  In particular, at least NFS4ERR_OP_NOT_IN_SESSION should be
added.

 	Fred

--- nfsv41.x	2007-02-27 13:46:35.000000000 -0500
+++ new_nfsv41.x	2007-02-28 14:33:25.000000000 -0500
@@ -2084,10 +2084,18 @@
  	opaque		ssa_digest<>;
  };

-struct SET_SSV4res {
+struct SET_SSV4resok {
  	opaque		ssr_digest<>;
  };

+union SET_SSV4res switch (nfsstat4 status) {
+case NFS4_OK:
+	SET_SSV4resok	ssr_resok4;
+default:
+	void;
+};
+ 
+
  struct TEST_STATEID4args {
  	stateid4	ts_stateids<>;
  };

_______________________________________________
nfsv4 mailing list
[email-masked]
https://www1.ietf.org/mailman/listinfo/nfsv4