]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit318ae778860493f65acef8a05730df5283dacbf3
tree5bc2b9bc91c198d9937f9f9c22e211d37a19ccde
parent2549836626feca46fb115242a8d3cb355baa1e9a
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: c0bea24d4a15 ("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