aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2012-10-15 13:14:43 -0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2012-11-04 14:43:38 -0500
commitd3edcf96141a7729b12ef5ecab6d5f634e24c61a (patch)
tree1339e67802965ef0544afe6047c74028d758b3dc
parent7fc388460e8479c5b3120cb2fcf0e0daec70b93f (diff)
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>
-rw-r--r--fs/nfs/nfs4proc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/nfs/nfs4proc.c b/fs/nfs/nfs4proc.c
index 5eec4429970c..14d86ef493a0 100644
--- a/fs/nfs/nfs4proc.c
+++ b/fs/nfs/nfs4proc.c
@@ -5581,8 +5581,8 @@ static void nfs4_get_lease_time_prepare(struct rpc_task *task,
5581 &data->args->la_seq_args, 5581 &data->args->la_seq_args,
5582 &data->res->lr_seq_res, task); 5582 &data->res->lr_seq_res, task);
5583 5583
5584 BUG_ON(ret == -EAGAIN); 5584 if (ret != -EAGAIN)
5585 rpc_call_start(task); 5585 rpc_call_start(task);
5586 dprintk("<-- %s\n", __func__); 5586 dprintk("<-- %s\n", __func__);
5587} 5587}
5588 5588