git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
x86: TSC: define the PIT latch value separate
[pandora-kernel.git]
/
fs
/
splice.c
diff --git
a/fs/splice.c
b/fs/splice.c
index
b30311b
..
1bbc6f4
100644
(file)
--- a/
fs/splice.c
+++ b/
fs/splice.c
@@
-371,7
+371,7
@@
__generic_file_splice_read(struct file *in, loff_t *ppos,
* for an in-flight io page
*/
if (flags & SPLICE_F_NONBLOCK) {
- if (
TestSetPageLocked
(page)) {
+ if (
!trylock_page
(page)) {
error = -EAGAIN;
break;
}