Skip to contentSkip to conversation

fs/splice: export splice_to_pipe to modules

PATCH In review Mathieu Desnoyers 2 participants 2 messages Dec 2, 2011 VFS

lore
Share & tools
lore
#0 lore raw

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.

---
 fs/splice.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
fs/splice.c +1 -0
index fa2defa..492585d 100644
@@ -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
Acked-by on v1 1/1
#1 lore raw
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.

Signature · 1 line
Jens Axboe