]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 23 Jan 2021 14:48:43 +0000 (15:48 +0100)
commitbc04f6f240aa8c86389b2982fbaef8c7d6b3c119
tree1f1fb3eb6205e47ca5344660b2f198683922cb32
parent905e5e439fb533ccb03958716e9e8697cf02e641
pNFS: Mark layout for return if return-on-close was not sent

commit 67bbceedc9bb8ad48993a8bd6486054756d711f4 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/nfs/pnfs.c