Trond Myklebust d13549074c NFSv4.1/flexfiles: Fix a protocol error in layoutreturn
According to the flexfiles protocol, the layoutreturn should specify an
array of errors in the following format:

struct ff_ioerr4 {
	offset4        ffie_offset;
	length4        ffie_length;
	stateid4       ffie_stateid;
	device_error4  ffie_errors<>;
};

This patch fixes up the code to ensure that our ffie_errors is indeed
encoded as an array (albeit with only a single entry).

Reported-by: Tom Haynes <thomas.haynes@primarydata.com>
Cc: stable@vger.kernel.org
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
2015-08-27 20:42:20 -04:00
..
2013-06-08 16:20:18 -04:00
2015-04-23 15:16:27 -04:00
2015-04-26 17:33:59 -07:00
2015-04-23 15:16:14 -04:00
2015-02-03 11:06:34 -08:00
2015-04-23 15:16:14 -04:00
2015-04-23 15:16:14 -04:00
2015-08-25 20:06:56 -04:00
2015-01-30 20:43:30 -05:00
2015-08-20 13:43:53 -05:00
2015-04-26 17:33:59 -07:00