diff options
Diffstat (limited to 'fs')
-rw-r--r-- | fs/locks.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/locks.c b/fs/locks.c index 52a81005dab4..1a00b8bc65ed 100644 --- a/fs/locks.c +++ b/fs/locks.c | |||
@@ -1738,7 +1738,7 @@ again: | |||
1738 | else { | 1738 | else { |
1739 | for (;;) { | 1739 | for (;;) { |
1740 | error = posix_lock_file(filp, file_lock); | 1740 | error = posix_lock_file(filp, file_lock); |
1741 | if ((error != -EAGAIN) || (cmd == F_SETLK)) | 1741 | if (error != -EAGAIN || cmd == F_SETLK) |
1742 | break; | 1742 | break; |
1743 | error = wait_event_interruptible(file_lock->fl_wait, | 1743 | error = wait_event_interruptible(file_lock->fl_wait, |
1744 | !file_lock->fl_next); | 1744 | !file_lock->fl_next); |
@@ -1881,7 +1881,7 @@ again: | |||
1881 | else { | 1881 | else { |
1882 | for (;;) { | 1882 | for (;;) { |
1883 | error = posix_lock_file(filp, file_lock); | 1883 | error = posix_lock_file(filp, file_lock); |
1884 | if ((error != -EAGAIN) || (cmd == F_SETLK64)) | 1884 | if (error != -EAGAIN || cmd == F_SETLK64) |
1885 | break; | 1885 | break; |
1886 | error = wait_event_interruptible(file_lock->fl_wait, | 1886 | error = wait_event_interruptible(file_lock->fl_wait, |
1887 | !file_lock->fl_next); | 1887 | !file_lock->fl_next); |