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 a1e8b2248014..600d1fbe3571 100644 --- a/fs/locks.c +++ b/fs/locks.c | |||
@@ -1430,7 +1430,7 @@ int fcntl_setlease(unsigned int fd, struct file *filp, long arg) | |||
1430 | lock_kernel(); | 1430 | lock_kernel(); |
1431 | 1431 | ||
1432 | error = __setlease(filp, arg, &flp); | 1432 | error = __setlease(filp, arg, &flp); |
1433 | if (error) | 1433 | if (error || arg == F_UNLCK) |
1434 | goto out_unlock; | 1434 | goto out_unlock; |
1435 | 1435 | ||
1436 | error = fasync_helper(fd, filp, 1, &flp->fl_fasync); | 1436 | error = fasync_helper(fd, filp, 1, &flp->fl_fasync); |