diff options
author | Trond Myklebust <trond.myklebust@primarydata.com> | 2015-08-27 20:37:39 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-09-29 19:26:10 +0200 |
commit | f6384199b2592674c7e6cfcfb4c0c54eacf992d7 (patch) | |
tree | bcb88b74a9910bdb593b6dd3d587c835466f0d95 /drivers/scsi/mpt2sas/mpi/mpi2_raid.h | |
parent | b5a6dec79b2764584e5d5105f3f49bc58bf99513 (diff) |
NFSv4.1/flexfiles: Fix a protocol error in layoutreturn
commit d13549074cf066d6d5bb29903d044beffea342d3 upstream.
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>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/scsi/mpt2sas/mpi/mpi2_raid.h')
0 files changed, 0 insertions, 0 deletions