projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
locks: set fl_owner for leases to filp instead of current->files
[deliverable/linux.git]
/
fs
/
locks.c
diff --git
a/fs/locks.c
b/fs/locks.c
index aed4a957d232df199b73557185ed571cfbcf0ef5..314135ad820b7275ec8a8d8dd398f016a113e3d2 100644
(file)
--- a/
fs/locks.c
+++ b/
fs/locks.c
@@
-465,7
+465,7
@@
static int lease_init(struct file *filp, long type, struct file_lock *fl)
if (assign_type(fl, type) != 0)
return -EINVAL;
- fl->fl_owner =
current->files
;
+ fl->fl_owner =
filp
;
fl->fl_pid = current->tgid;
fl->fl_file = filp;
This page took
0.02527 seconds
and
5
git commands to generate.