projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c45821d
)
locks: minor setlease cleanup
author
J. Bruce Fields
<bfields@redhat.com>
Sun, 31 Oct 2010 16:35:48 +0000
(12:35 -0400)
committer
J. Bruce Fields
<bfields@redhat.com>
Tue, 4 Jan 2011 21:49:29 +0000
(16:49 -0500)
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/locks.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/locks.c
b/fs/locks.c
index 5cb65062281a47efe194fb00834e8e00a6c7c4af..feaac634d0da38d3048e376d57481341ec111032 100644
(file)
--- a/
fs/locks.c
+++ b/
fs/locks.c
@@
-1399,7
+1399,7
@@
int generic_setlease(struct file *filp, long arg, struct file_lock **flp)
for (before = &inode->i_flock;
((fl = *before) != NULL) && IS_LEASE(fl);
before = &fl->fl_next) {
- if (fl->fl_file ==
lease->fl_file
)
+ if (fl->fl_file ==
filp
)
my_before = before;
else if (fl->fl_type == (F_INPROGRESS | F_UNLCK))
/*