diff options
author | Hannes Frederic Sowa <hannes@stressinduktion.org> | 2015-05-21 18:00:01 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-05-25 07:06:59 +0300 |
commit | 2b514574f7e88c8498027ee366fd6e7aae5aa4b5 (patch) | |
tree | 1fd7303692dfbbf1c9c3348cb79961ceb5078cd1 /fs/splice.c | |
parent | a60e3cc7c92973a31fad0fd04dc5cf4355d3d1ef (diff) | |
download | linux-2b514574f7e88c8498027ee366fd6e7aae5aa4b5.tar.xz |
net: af_unix: implement splice for stream af_unix sockets
unix_stream_recvmsg is refactored to unix_stream_read_generic in this
patch and enhanced to deal with pipe splicing. The refactoring is
inneglible, we mostly have to deal with a non-existing struct msghdr
argument.
Signed-off-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'fs/splice.c')
-rw-r--r-- | fs/splice.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/splice.c b/fs/splice.c index bfe62ae40f40..4f355a1c1a9e 100644 --- a/fs/splice.c +++ b/fs/splice.c @@ -261,6 +261,7 @@ ssize_t splice_to_pipe(struct pipe_inode_info *pipe, return ret; } +EXPORT_SYMBOL_GPL(splice_to_pipe); void spd_release_page(struct splice_pipe_desc *spd, unsigned int i) { |