diff options
Diffstat (limited to 'fs/locks.c')
-rw-r--r-- | fs/locks.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/locks.c b/fs/locks.c index 51bae6227c25..efe1affe6bed 100644 --- a/fs/locks.c +++ b/fs/locks.c | |||
@@ -819,7 +819,7 @@ static int __posix_lock_file(struct inode *inode, struct file_lock *request, str | |||
819 | lock_kernel(); | 819 | lock_kernel(); |
820 | if (request->fl_type != F_UNLCK) { | 820 | if (request->fl_type != F_UNLCK) { |
821 | for_each_lock(inode, before) { | 821 | for_each_lock(inode, before) { |
822 | struct file_lock *fl = *before; | 822 | fl = *before; |
823 | if (!IS_POSIX(fl)) | 823 | if (!IS_POSIX(fl)) |
824 | continue; | 824 | continue; |
825 | if (!posix_locks_conflict(request, fl)) | 825 | if (!posix_locks_conflict(request, fl)) |