diff options
Diffstat (limited to 'fs/locks.c')
-rw-r--r-- | fs/locks.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/locks.c b/fs/locks.c index 90b652ad306f..365c82e1b3a9 100644 --- a/fs/locks.c +++ b/fs/locks.c | |||
@@ -1107,6 +1107,7 @@ static int __posix_lock_file(struct inode *inode, struct file_lock *request, str | |||
1107 | } | 1107 | } |
1108 | locks_copy_lock(new_fl, request); | 1108 | locks_copy_lock(new_fl, request); |
1109 | locks_insert_lock_ctx(new_fl, &fl->fl_list); | 1109 | locks_insert_lock_ctx(new_fl, &fl->fl_list); |
1110 | fl = new_fl; | ||
1110 | new_fl = NULL; | 1111 | new_fl = NULL; |
1111 | } | 1112 | } |
1112 | if (right) { | 1113 | if (right) { |