fs/splice: export splice_to_pipe to modules
PATCH 1/1 fs/splice: export splice_to_pipe to modules
The LTTng driver needs this symbol exported because it implements its own splice actor.
All other exports in splice are EXPORT_SYMBOL(), so follow the local trend by not using a _GPL() export.
Signed-off-by Mathieu Desnoyers <[email protected]>
CC Linus Torvalds <[email protected]>
CC Ingo Molnar <[email protected]>
CC Jens Axboe <[email protected]>
CC Greg KH <[email protected]>
--- fs/splice.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
fs/splice.c +1 -0
@@ -263,6 +263,7 @@ ssize_t splice_to_pipe(struct pipe_inode_info *pipe,return ret; } +EXPORT_SYMBOL (splice_to_pipe);void spd_release_page (struct splice_pipe_desc *spd,unsigned int i) {
Signature · 1 line
1.7.5.4
Quoted 5 lines · Mathieu Desnoyers
The LTTng driver needs this symbol exported because it implements its own splice actor.
All other exports in splice are
EXPORT_SYMBOL(), so follow the local trend by not using a_GPL()export.
Thanks, that makes more sense to me.
Acked-by Jens Axboe <[email protected]>
Signature · 1 line
Jens Axboe