Skip to content

Commit

Permalink
[PATCH] splice: export generic_splice_sendpage
Browse files Browse the repository at this point in the history
Forgot that one, thanks Jeff. Also move the other EXPORT_SYMBOL
to right below the functions.

Signed-off-by: Jens Axboe <axboe@suse.de>
  • Loading branch information
Jens Axboe committed Apr 2, 2006
1 parent b2b39fa commit 059a8f3
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions fs/splice.c
Original file line number Diff line number Diff line change
Expand Up @@ -342,6 +342,8 @@ ssize_t generic_file_splice_read(struct file *in, struct inode *pipe,
return ret;
}

EXPORT_SYMBOL(generic_file_splice_read);

/*
* Send 'sd->len' bytes to socket from 'sd->file' at position 'sd->pos'
* using sendpage().
Expand Down Expand Up @@ -654,6 +656,8 @@ ssize_t generic_file_splice_write(struct inode *inode, struct file *out,
return ret;
}

EXPORT_SYMBOL(generic_file_splice_write);

/**
* generic_splice_sendpage - splice data from a pipe to a socket
* @inode: pipe inode
Expand All @@ -671,8 +675,7 @@ ssize_t generic_splice_sendpage(struct inode *inode, struct file *out,
return move_from_pipe(inode, out, len, flags, pipe_to_sendpage);
}

EXPORT_SYMBOL(generic_file_splice_write);
EXPORT_SYMBOL(generic_file_splice_read);
EXPORT_SYMBOL(generic_splice_sendpage);

/*
* Attempt to initiate a splice from pipe to file.
Expand Down

0 comments on commit 059a8f3

Please sign in to comment.