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 0ac6b92cb0b6..11dbf08651b7 100644 --- a/fs/locks.c +++ b/fs/locks.c | |||
@@ -773,7 +773,7 @@ static int flock_lock_file(struct file *filp, struct file_lock *request) | |||
773 | * give it the opportunity to lock the file. | 773 | * give it the opportunity to lock the file. |
774 | */ | 774 | */ |
775 | if (found) | 775 | if (found) |
776 | cond_resched(); | 776 | cond_resched_bkl(); |
777 | 777 | ||
778 | find_conflict: | 778 | find_conflict: |
779 | for_each_lock(inode, before) { | 779 | for_each_lock(inode, before) { |