]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - fs/locks.c
Fix problem recognizing symlinks
[karo-tx-linux.git] / fs / locks.c
index 92a0f0a52b06522e69b9452693a3f7f52cef5b40..4dd39b98a6a36194322d1edf8a2d95a33075c6a5 100644 (file)
@@ -1376,11 +1376,10 @@ int __break_lease(struct inode *inode, unsigned int mode, unsigned int type)
 
 restart:
        break_time = flock->fl_break_time;
-       if (break_time != 0) {
+       if (break_time != 0)
                break_time -= jiffies;
-               if (break_time == 0)
-                       break_time++;
-       }
+       if (break_time == 0)
+               break_time++;
        locks_insert_block(flock, new_fl);
        spin_unlock(&inode->i_lock);
        error = wait_event_interruptible_timeout(new_fl->fl_wait,