Commit a9749824 authored by Trond Myklebust's avatar Trond Myklebust Committed by Yang Yingliang
Browse files

pNFS: Mark layout for return if return-on-close was not sent



stable inclusion
from linux-4.19.169
commit 87396ce3b5059916e81b6c3456a5c2b9b7636b5f

--------------------------------

commit 67bbceed upstream.

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

Fixes: 9c47b18c ("pNFS: Ensure we do clear the return-on-close layout stateid on fatal errors")
Signed-off-by: default avatarTrond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
Signed-off-by: default avatarCheng Jian <cj.chengjian@huawei.com>
parent 643d973a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment