mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-11-06 23:17:41 +00:00
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: Trond Myklebust <Trond.Myklebust@netapp.com>
This commit is contained in:
parent
7fc388460e
commit
d3edcf9614
1 changed files with 2 additions and 2 deletions
|
@ -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__);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue