projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e917f0d
)
NFS: Clean up nfs4_proc_get_lease_time()
author
Anna Schumaker
<
[email protected]
>
Fri, 7 Apr 2017 18:15:23 +0000
(14:15 -0400)
committer
Trond Myklebust
<
[email protected]
>
Thu, 20 Apr 2017 17:39:35 +0000
(13:39 -0400)
Signed-off-by: Anna Schumaker <
[email protected]
>
Signed-off-by: Trond Myklebust <
[email protected]
>
fs/nfs/nfs4proc.c
patch
|
blob
|
history
diff --git
a/fs/nfs/nfs4proc.c
b/fs/nfs/nfs4proc.c
index a3808826b6554efe876e77a7b484d8d752304654..dda19a35ad9e70465a6e8916271796ab4ede7628 100644
(file)
--- a/
fs/nfs/nfs4proc.c
+++ b/
fs/nfs/nfs4proc.c
@@
-7751,17
+7751,13
@@
int nfs4_proc_get_lease_time(struct nfs_client *clp, struct nfs_fsinfo *fsinfo)
nfs4_init_sequence(&args.la_seq_args, &res.lr_seq_res, 0);
nfs4_set_sequence_privileged(&args.la_seq_args);
- dprintk("--> %s\n", __func__);
task = rpc_run_task(&task_setup);
if (IS_ERR(task))
- status = PTR_ERR(task);
- else {
- status = task->tk_status;
- rpc_put_task(task);
- }
- dprintk("<-- %s return %d\n", __func__, status);
+ return PTR_ERR(task);
+ status = task->tk_status;
+ rpc_put_task(task);
return status;
}