|
@@ -651,9 +651,9 @@ out_ret:
|
|
|
* key here is the 'actor' worker passed in that actually moves the data
|
|
|
* to the wanted destination. See pipe_to_file/pipe_to_sendpage above.
|
|
|
*/
|
|
|
-static ssize_t __splice_from_pipe(struct pipe_inode_info *pipe,
|
|
|
- struct file *out, loff_t *ppos, size_t len,
|
|
|
- unsigned int flags, splice_actor *actor)
|
|
|
+ssize_t __splice_from_pipe(struct pipe_inode_info *pipe,
|
|
|
+ struct file *out, loff_t *ppos, size_t len,
|
|
|
+ unsigned int flags, splice_actor *actor)
|
|
|
{
|
|
|
int ret, do_wakeup, err;
|
|
|
struct splice_desc sd;
|
|
@@ -747,6 +747,7 @@ static ssize_t __splice_from_pipe(struct pipe_inode_info *pipe,
|
|
|
|
|
|
return ret;
|
|
|
}
|
|
|
+EXPORT_SYMBOL(__splice_from_pipe);
|
|
|
|
|
|
ssize_t splice_from_pipe(struct pipe_inode_info *pipe, struct file *out,
|
|
|
loff_t *ppos, size_t len, unsigned int flags,
|