projects
/
platform
/
adaptation
/
renesas_rcar
/
renesas_kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7fc3884
)
NFSv4: Remove the BUG_ON() from nfs4_get_lease_time_prepare()...
author
Trond Myklebust
<Trond.Myklebust@netapp.com>
Mon, 15 Oct 2012 17:14:43 +0000
(13:14 -0400)
committer
Trond Myklebust
<Trond.Myklebust@netapp.com>
Sun, 4 Nov 2012 19:43:38 +0000
(14:43 -0500)
An EAGAIN return value would be unexpected, but there is no reason to
BUG...
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/nfs4proc.c
patch
|
blob
|
history
diff --git
a/fs/nfs/nfs4proc.c
b/fs/nfs/nfs4proc.c
index
5eec442
..
14d86ef
100644
(file)
--- 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,
&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__);
}