Searched hist:d13549074cf066d6d5bb29903d044beffea342d3 (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/fs/nfs/flexfilelayout/ |
H A D | flexfilelayoutdev.c | diff d13549074cf066d6d5bb29903d044beffea342d3 Thu Aug 27 19:37:39 CDT 2015 Trond Myklebust <trond.myklebust@primarydata.com> 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>
|