git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PATCH] vmsplice: restrict stealing a little more
[safe/jmp/linux-2.6]
/
fs
/
splice.c
diff --git
a/fs/splice.c
b/fs/splice.c
index
3318b96
..
7fb0497
100644
(file)
--- a/
fs/splice.c
+++ b/
fs/splice.c
@@
-141,7
+141,7
@@
static int user_page_pipe_buf_steal(struct pipe_inode_info *pipe,
if (!(buf->flags & PIPE_BUF_FLAG_GIFT))
return 1;
- return
0
;
+ return
generic_pipe_buf_steal(pipe, buf)
;
}
static struct pipe_buf_operations user_page_pipe_buf_ops = {