提交 d3edcf96 编写于 作者: T Trond Myklebust

NFSv4: Remove the BUG_ON() from nfs4_get_lease_time_prepare()...

An EAGAIN return value would be unexpected, but there is no reason to
BUG...
Signed-off-by: NTrond Myklebust <Trond.Myklebust@netapp.com>
上级 7fc38846
......@@ -5581,8 +5581,8 @@ static void nfs4_get_lease_time_prepare(struct rpc_task *task,
&data->args->la_seq_args,
&data->res->lr_seq_res, task);
BUG_ON(ret == -EAGAIN);
rpc_call_start(task);
if (ret != -EAGAIN)
rpc_call_start(task);
dprintk("<-- %s\n", __func__);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册