nfsd: return nfserr_minor_vers_mismatch when compound minorversion != 0
authorBenny Halevy <bhalevy@panasas.com>
Wed, 2 Jul 2008 08:13:18 +0000 (11:13 +0300)
committerJ. Bruce Fields <bfields@citi.umich.edu>
Wed, 2 Jul 2008 19:58:20 +0000 (15:58 -0400)
Check minorversion once before decoding any operation and reject with
nfserr_minor_vers_mismatch if != 0 (this still happens in nfsd4_proc_compound).
In this case return a zero length resultdata array as required by RFC3530.

minorversion 1 processing will have its own vector of decoders.

Signed-off-by: Benny Halevy <bhalevy@panasas.com>
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>

No differences found