diff options
-rw-r--r-- | fs/locks.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/locks.c b/fs/locks.c index 40bc384728c0..4517b8bfca11 100644 --- a/fs/locks.c +++ b/fs/locks.c | |||
@@ -964,8 +964,6 @@ static int __posix_lock_file(struct inode *inode, struct file_lock *request, str | |||
964 | */ | 964 | */ |
965 | if (request->fl_type != F_UNLCK) { | 965 | if (request->fl_type != F_UNLCK) { |
966 | list_for_each_entry(fl, &ctx->flc_posix, fl_list) { | 966 | list_for_each_entry(fl, &ctx->flc_posix, fl_list) { |
967 | if (!IS_POSIX(fl)) | ||
968 | continue; | ||
969 | if (!posix_locks_conflict(request, fl)) | 967 | if (!posix_locks_conflict(request, fl)) |
970 | continue; | 968 | continue; |
971 | if (conflock) | 969 | if (conflock) |