pNFS: Mark layout for return if return-on-close was not sent
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Mon, 4 Jan 2021 18:35:46 +0000 (13:35 -0500)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Sun, 10 Jan 2021 18:32:51 +0000 (13:32 -0500)
commit67bbceedc9bb8ad48993a8bd6486054756d711f4
tree5bc2b9bc91c198d9937f9f9c22e211d37a19ccde
parent86b53fbf08f48d353a86a06aef537e78e82ba721
pNFS: Mark layout for return if return-on-close was not sent

If the layout return-on-close failed because the layoutreturn was never
sent, then we should mark the layout for return again.

Fixes: 9c47b18cf722 ("pNFS: Ensure we do clear the return-on-close layout stateid on fatal errors")
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
fs/nfs/pnfs.c