pNFS: Do not set plh_return_seq for non-callback related layoutreturns
authorTrond Myklebust <trond.myklebust@primarydata.com>
Thu, 21 Jul 2016 17:06:18 +0000 (13:06 -0400)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Sun, 24 Jul 2016 20:16:39 +0000 (16:16 -0400)
commit2d6cf5ab0b5d13d06c4b7920d6a12dbedf003190
tree2357bc52afacec8703b6f4d61ed22a2c65af5cfc
parente5fd1904b8422615a2a286777e2b7c881ad53e73
pNFS: Do not set plh_return_seq for non-callback related layoutreturns

In cases where we need to send a layoutreturn in order to propagate
an error, we should not tie that to a specific layout stateid.

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