aboutsummaryrefslogtreecommitdiffstats
path: root/fs/locks.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/locks.c')
-rw-r--r--fs/locks.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/locks.c b/fs/locks.c
index e588e1c265f7..f8a634ac1121 100644
--- a/fs/locks.c
+++ b/fs/locks.c
@@ -1907,7 +1907,7 @@ void locks_remove_posix(struct file *filp, fl_owner_t owner)
1907 return; 1907 return;
1908 1908
1909 lock.fl_type = F_UNLCK; 1909 lock.fl_type = F_UNLCK;
1910 lock.fl_flags = FL_POSIX; 1910 lock.fl_flags = FL_POSIX | FL_CLOSE;
1911 lock.fl_start = 0; 1911 lock.fl_start = 0;
1912 lock.fl_end = OFFSET_MAX; 1912 lock.fl_end = OFFSET_MAX;
1913 lock.fl_owner = owner; 1913 lock.fl_owner = owner;