[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20111202124352.GB13082@Krystal>
Date: Fri, 2 Dec 2011 07:43:52 -0500
From: Mathieu Desnoyers <mathieu.desnoyers@...icios.com>
To: Greg KH <greg@...ah.com>
Cc: Jens Axboe <jens@...oe.dk>, lttng-dev@...ts.lttng.org,
Linus Torvalds <torvalds@...ux-foundation.org>,
Ingo Molnar <mingo@...e.hu>, linux-kernel@...r.kernel.org,
devel@...verdev.osuosl.org
Subject: [PATCH] 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 <mathieu.desnoyers@...icios.com>
CC: Linus Torvalds <torvalds@...ux-foundation.org>
CC: Ingo Molnar <mingo@...e.hu>
CC: Jens Axboe <axboe@...nel.dk>
CC: linux-kernel@...r.kernel.org
CC: Greg KH <greg@...ah.com>
---
fs/splice.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/fs/splice.c b/fs/splice.c
index fa2defa..492585d 100644
--- a/fs/splice.c
+++ b/fs/splice.c
@@ -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)
{
--
1.7.5.4
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists