pNFS/flexfiles: Fix an XDR encoding bug in layoutreturn

commit 082fa37d13 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>
This commit is contained in:
Trond Myklebust 2016-01-21 15:39:40 -05:00 • committed by Greg Kroah-Hartman
commit 66b8812e87