projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge tag 'x86-urgent-2020-05-24' of git://git.kernel.org/pub/scm/linux/kernel/git...
[linux-2.6-microblaze.git]
/
fs
/
splice.c
diff --git
a/fs/splice.c
b/fs/splice.c
index
fd0a1e7
..
4e53efb
100644
(file)
--- a/
fs/splice.c
+++ b/
fs/splice.c
@@
-1494,7
+1494,7
@@
static int opipe_prep(struct pipe_inode_info *pipe, unsigned int flags)
* Check pipe occupancy without the inode lock first. This function
* is speculative anyways, so missing one is ok.
*/
* Check pipe occupancy without the inode lock first. This function
* is speculative anyways, so missing one is ok.
*/
- if (pipe_full(pipe->head, pipe->tail, pipe->max_usage))
+ if (
!
pipe_full(pipe->head, pipe->tail, pipe->max_usage))
return 0;
ret = 0;
return 0;
ret = 0;