Rick Macklem d224f05fcf nfsd: Pre-parse the next NFSv4 operation number for put FH operations
RFC5661 Sec. 2.6 specifies when a NFSERR_WRONGSEC error reply can be done.
For the four operations PutFH, PutrootFH, PutpublicFH and RestoreFH,
NFSERR_WRONGSEC can or cannot be replied, depending upon what operation
follows one of these operations in the compound.

This patch modifies nfsrvd_compound() so that it parses the next operation
number before executing any of the above four operations, storing it in
"nextop".

A future commit will implement use of "nextop" to decide if NFSERR_WRONGSEC
can be replied for the above four operations.

This commit should not change the semantics of performing the compound RPC.

MFC after:	2 weeks
2021-06-03 20:48:26 -07:00
..
2021-05-25 09:56:56 -06:00
2021-05-25 16:59:19 -07:00
2021-05-05 15:26:09 -06:00
2021-06-03 17:45:27 -06:00
2021-04-07 14:33:02 -04:00
2021-03-17 06:16:31 +11:00
2021-03-17 06:16:31 +11:00
2021-05-15 20:47:29 +00:00
2021-05-17 11:41:21 +02:00