Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d3edcf96 authored by Trond Myklebust's avatar Trond Myklebust
Browse files

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: default avatarTrond Myklebust <Trond.Myklebust@netapp.com>
parent 7fc38846
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -5581,7 +5581,7 @@ 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);
	if (ret != -EAGAIN)
		rpc_call_start(task);
	dprintk("<-- %s\n", __func__);
}