diff options
-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 c795eaaf6c4c..51bae6227c25 100644 --- a/fs/locks.c +++ b/fs/locks.c | |||
@@ -668,7 +668,7 @@ posix_test_lock(struct file *filp, struct file_lock *fl) | |||
668 | for (cfl = filp->f_path.dentry->d_inode->i_flock; cfl; cfl = cfl->fl_next) { | 668 | for (cfl = filp->f_path.dentry->d_inode->i_flock; cfl; cfl = cfl->fl_next) { |
669 | if (!IS_POSIX(cfl)) | 669 | if (!IS_POSIX(cfl)) |
670 | continue; | 670 | continue; |
671 | if (posix_locks_conflict(cfl, fl)) | 671 | if (posix_locks_conflict(fl, cfl)) |
672 | break; | 672 | break; |
673 | } | 673 | } |
674 | if (cfl) | 674 | if (cfl) |