summaryrefslogtreecommitdiffstats
path: root/fs/cifs/cifsencrypt.c
diff options
context:
space:
mode:
authorTrond Myklebust <trond.myklebust@primarydata.com>2015-08-28 02:37:39 +0200
committerTrond Myklebust <trond.myklebust@primarydata.com>2015-08-28 02:42:20 +0200
commitd13549074cf066d6d5bb29903d044beffea342d3 (patch)
tree0d4167522dbc760366ff0fb9b66425c894d4d3ff /fs/cifs/cifsencrypt.c
parentNFS: Send attributes in OPEN request for NFS4_CREATE_EXCLUSIVE4_1 (diff)
downloadlinux-d13549074cf066d6d5bb29903d044beffea342d3.tar.xz
linux-d13549074cf066d6d5bb29903d044beffea342d3.zip
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>
Diffstat (limited to 'fs/cifs/cifsencrypt.c')
0 files changed, 0 insertions, 0 deletions