提交 57db059d 编写于 作者: T Trond Myklebust 提交者: Xie XiuQi

NFSv4: Ensure that the state manager exits the loop on SIGKILL

[ Upstream commit a1aa09be21fa344d1f5585aab8164bfae55f57e3 ]
Signed-off-by: NTrond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: NSasha Levin <sashal@kernel.org>
Signed-off-by: NYang Yingliang <yangyingliang@huawei.com>
上级 ecfd3be8
......@@ -2615,7 +2615,7 @@ static void nfs4_state_manager(struct nfs_client *clp)
return;
if (test_and_set_bit(NFS4CLNT_MANAGER_RUNNING, &clp->cl_state) != 0)
return;
} while (refcount_read(&clp->cl_count) > 1);
} while (refcount_read(&clp->cl_count) > 1 && !signalled());
goto out_drain;
out_error:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册