NFSv4.1/pnfs: Fix serialisation of layout return and layoutget
authorTrond Myklebust <trond.myklebust@primarydata.com>
Tue, 4 Aug 2015 20:09:44 +0000 (16:09 -0400)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Wed, 12 Aug 2015 18:56:19 +0000 (14:56 -0400)
commit8f70f53a87007bdbb34c79d11178a153914f5db1
treeabdb1e8e5dea6942624032e9d56f1436bd8434da
parenta4497a58e4043a925b7b308bd2c32f0744eca440
NFSv4.1/pnfs: Fix serialisation of layout return and layoutget

We should always test for outstanding layout returns, whether or not
pnfs_should_retry_layoutget() is true.

Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
fs/nfs/pnfs.c