diff options
author | Jens Axboe <axboe@suse.de> | 2006-04-02 17:06:05 -0400 |
---|---|---|
committer | Jens Axboe <axboe@suse.de> | 2006-04-02 17:06:05 -0400 |
commit | 059a8f3734a66cb2c41731083b0cbf836721485b (patch) | |
tree | 6f6b61d3350b57fb062f26e828dbd218f62caad7 /fs/splice.c | |
parent | b2b39fa478db6db89b7ccafb0649973845b0eb75 (diff) |
[PATCH] splice: export generic_splice_sendpage
Forgot that one, thanks Jeff. Also move the other EXPORT_SYMBOL
to right below the functions.
Signed-off-by: Jens Axboe <axboe@suse.de>
Diffstat (limited to 'fs/splice.c')
-rw-r--r-- | fs/splice.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/fs/splice.c b/fs/splice.c index e84544558946..7c2abd4504d7 100644 --- a/fs/splice.c +++ b/fs/splice.c | |||
@@ -342,6 +342,8 @@ ssize_t generic_file_splice_read(struct file *in, struct inode *pipe, | |||
342 | return ret; | 342 | return ret; |
343 | } | 343 | } |
344 | 344 | ||
345 | EXPORT_SYMBOL(generic_file_splice_read); | ||
346 | |||
345 | /* | 347 | /* |
346 | * Send 'sd->len' bytes to socket from 'sd->file' at position 'sd->pos' | 348 | * Send 'sd->len' bytes to socket from 'sd->file' at position 'sd->pos' |
347 | * using sendpage(). | 349 | * using sendpage(). |
@@ -654,6 +656,8 @@ ssize_t generic_file_splice_write(struct inode *inode, struct file *out, | |||
654 | return ret; | 656 | return ret; |
655 | } | 657 | } |
656 | 658 | ||
659 | EXPORT_SYMBOL(generic_file_splice_write); | ||
660 | |||
657 | /** | 661 | /** |
658 | * generic_splice_sendpage - splice data from a pipe to a socket | 662 | * generic_splice_sendpage - splice data from a pipe to a socket |
659 | * @inode: pipe inode | 663 | * @inode: pipe inode |
@@ -671,8 +675,7 @@ ssize_t generic_splice_sendpage(struct inode *inode, struct file *out, | |||
671 | return move_from_pipe(inode, out, len, flags, pipe_to_sendpage); | 675 | return move_from_pipe(inode, out, len, flags, pipe_to_sendpage); |
672 | } | 676 | } |
673 | 677 | ||
674 | EXPORT_SYMBOL(generic_file_splice_write); | 678 | EXPORT_SYMBOL(generic_splice_sendpage); |
675 | EXPORT_SYMBOL(generic_file_splice_read); | ||
676 | 679 | ||
677 | /* | 680 | /* |
678 | * Attempt to initiate a splice from pipe to file. | 681 | * Attempt to initiate a splice from pipe to file. |