projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8718602
)
nfsd: Remove unused values in nfs4_setlease()
author
Kinglong Mee
<kinglongmee@gmail.com>
Mon, 13 Jul 2015 09:33:24 +0000
(17:33 +0800)
committer
J. Bruce Fields
<bfields@redhat.com>
Mon, 10 Aug 2015 20:05:51 +0000
(16:05 -0400)
Signed-off-by: Kinglong Mee <kinglongmee@gmail.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfs4state.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/nfsd/nfs4state.c
b/fs/nfsd/nfs4state.c
index a44be220eca11e4b36aac7aae997d7ab2c6f342b..780fd6e1478dd44fb602847b5c8af86fe188ef38 100644
(file)
--- a/
fs/nfsd/nfs4state.c
+++ b/
fs/nfsd/nfs4state.c
@@
-3925,7
+3925,7
@@
static struct file_lock *nfs4_alloc_init_lease(struct nfs4_file *fp, int flag)
static int nfs4_setlease(struct nfs4_delegation *dp)
{
struct nfs4_file *fp = dp->dl_stid.sc_file;
- struct file_lock *fl
, *ret
;
+ struct file_lock *fl;
struct file *filp;
int status = 0;
@@
-3940,7
+3940,6
@@
static int nfs4_setlease(struct nfs4_delegation *dp)
return -EBADF;
}
fl->fl_file = filp;
- ret = fl;
status = vfs_setlease(filp, fl->fl_type, &fl, NULL);
if (fl)
locks_free_lock(fl);