Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
f1682e94
Commit
f1682e94
authored
Mar 31, 2006
by
Steve French
Browse files
Options
Browse Files
Download
Plain Diff
Merge with /pub/scm/linux/kernel/git/torvalds/linux-2.6.git
Signed-off-by:
Steve French
<
sfrench@us.ibm.com
>
parents
6910ab30
a0f06780
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
fs/splice.c
fs/splice.c
+4
-0
No files found.
fs/splice.c
View file @
f1682e94
...
@@ -22,6 +22,7 @@
...
@@ -22,6 +22,7 @@
#include <linux/pipe_fs_i.h>
#include <linux/pipe_fs_i.h>
#include <linux/mm_inline.h>
#include <linux/mm_inline.h>
#include <linux/swap.h>
#include <linux/swap.h>
#include <linux/module.h>
/*
/*
* Passed to the actors
* Passed to the actors
...
@@ -567,6 +568,9 @@ ssize_t generic_splice_sendpage(struct inode *inode, struct file *out,
...
@@ -567,6 +568,9 @@ ssize_t generic_splice_sendpage(struct inode *inode, struct file *out,
return
move_from_pipe
(
inode
,
out
,
len
,
flags
,
pipe_to_sendpage
);
return
move_from_pipe
(
inode
,
out
,
len
,
flags
,
pipe_to_sendpage
);
}
}
EXPORT_SYMBOL
(
generic_file_splice_write
);
EXPORT_SYMBOL
(
generic_file_splice_read
);
static
long
do_splice_from
(
struct
inode
*
pipe
,
struct
file
*
out
,
size_t
len
,
static
long
do_splice_from
(
struct
inode
*
pipe
,
struct
file
*
out
,
size_t
len
,
unsigned
int
flags
)
unsigned
int
flags
)
{
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment