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)
committerSasha Levin <sasha.levin@oracle.com>
Mon, 15 Feb 2016 20:45:19 +0000 (15:45 -0500)
commit9295dee2df7af7ea4233b664a8d4d4d057748e2f
tree1f1a484154cfa3d5e21292fa1312e995c643b018
parentb085ab71a7e748a9edb77a36ceadbab514ce0947
pNFS/flexfiles: Fix an XDR encoding bug in layoutreturn

[ Upstream commit 082fa37d1351a41afc491d44a1d095cb8d919aa2 ]

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>
Cc: stable@vger.kernel.org # 4.0+
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
fs/nfs/flexfilelayout/flexfilelayout.c