Skip to content

Commit

Permalink
NFSv4: Remove the BUG_ON() from nfs4_get_lease_time_prepare()...
Browse files Browse the repository at this point in the history
An EAGAIN return value would be unexpected, but there is no reason to
BUG...

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
  • Loading branch information
Trond Myklebust authored and Trond Myklebust committed Nov 4, 2012
1 parent 7fc3884 commit d3edcf9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fs/nfs/nfs4proc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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__);
}

Expand Down

0 comments on commit d3edcf9

Please sign in to comment.