aboutsummaryrefslogtreecommitdiffstats
path: root/fs/locks.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/locks.c')
-rw-r--r--fs/locks.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/locks.c b/fs/locks.c
index 21dfadfca2bc..e0b6a80649a0 100644
--- a/fs/locks.c
+++ b/fs/locks.c
@@ -1514,7 +1514,7 @@ int fcntl_setlease(unsigned int fd, struct file *filp, long arg)
1514 goto out_unlock; 1514 goto out_unlock;
1515 } 1515 }
1516 1516
1517 error = f_setown(filp, current->pid, 0); 1517 error = __f_setown(filp, task_pid(current), PIDTYPE_PID, 0);
1518out_unlock: 1518out_unlock:
1519 unlock_kernel(); 1519 unlock_kernel();
1520 return error; 1520 return error;