]> www.infradead.org Git - users/jedix/linux-maple.git/commit
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)
committerChuck Anderson <chuck.anderson@oracle.com>
Thu, 26 May 2016 22:44:30 +0000 (15:44 -0700)
commit8af7cbd8a78290761dfb77641d4d3e2da5eea050
tree536345fc1bd3d91f2eb43e4598587bfe690d439e
parent568cbadf47617f98316e28254fbfa5a87dd2cf68
pNFS/flexfiles: Fix an XDR encoding bug in layoutreturn

Orabug: 23330776

[ 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>
(cherry picked from commit 9295dee2df7af7ea4233b664a8d4d4d057748e2f)

Signed-off-by: Dan Duval <dan.duval@oracle.com>
fs/nfs/flexfilelayout/flexfilelayout.c