projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PATCH] vfs: add lock owner argument to flush operation
[linux-2.6-block.git]
/
fs
/
locks.c
diff --git
a/fs/locks.c
b/fs/locks.c
index e588e1c265f76a3c1acf3b4a10408d357dbe8525..f8a634ac11217ee5e88ea50cdd1c7c68eb45cd7d 100644
(file)
--- a/
fs/locks.c
+++ b/
fs/locks.c
@@
-1907,7
+1907,7
@@
void locks_remove_posix(struct file *filp, fl_owner_t owner)
return;
lock.fl_type = F_UNLCK;
- lock.fl_flags = FL_POSIX;
+ lock.fl_flags = FL_POSIX
| FL_CLOSE
;
lock.fl_start = 0;
lock.fl_end = OFFSET_MAX;
lock.fl_owner = owner;