OSDN Git Service

pNFS/flexfiles: Fix an XDR encoding bug in layoutreturn
authorTrond Myklebust <trond.myklebust@primarydata.com>
Thu, 21 Jan 2016 20:39:40 +0000 (15:39 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 25 Feb 2016 20:01:18 +0000 (12:01 -0800)
commit66b8812e87f3fcf9d52b107a8d3102cd3f77ae1e
treed647b68b82a66fa470fa0be510db469de3326f75
parentd65eb5b3dfb1159ea69c6ce170f83a0a90548ac6
pNFS/flexfiles: Fix an XDR encoding bug in layoutreturn

commit 082fa37d1351a41afc491d44a1d095cb8d919aa2 upstream.

We must not skip encoding the statistics, or the server will see an
XDR encoding error.

Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/nfs/flexfilelayout/flexfilelayout.c