projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
debugobjects: fix lockdep warning
[GitHub/mt8127/android_kernel_alcatel_ttab.git]
/
fs
/
splice.c
diff --git
a/fs/splice.c
b/fs/splice.c
index b30311ba8af6ff23ee45af51d07655e68c98fad2..1bbc6f4bb09cb850cec29e64ea34bfabe083bb3b 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;
}