projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PATCH] file: modify struct fown_struct to use a struct pid
[linux-2.6-block.git]
/
fs
/
locks.c
diff --git
a/fs/locks.c
b/fs/locks.c
index 21dfadfca2bc1402613407215a807ee3bda44173..e0b6a80649a01ff79c26206c039ece3d4faebd0c 100644
(file)
--- a/
fs/locks.c
+++ b/
fs/locks.c
@@
-1514,7
+1514,7
@@
int fcntl_setlease(unsigned int fd, struct file *filp, long arg)
goto out_unlock;
}
- error =
f_setown(filp, current->pid
, 0);
+ error =
__f_setown(filp, task_pid(current), PIDTYPE_PID
, 0);
out_unlock:
unlock_kernel();
return error;