* [PATCH 2/5] eventfd: Export symbol eventfd_file_create()
@ 2012-07-12 15:42 Asias He
0 siblings, 0 replies; only message in thread
From: Asias He @ 2012-07-12 15:42 UTC (permalink / raw)
To: linux-kernel
Cc: kvm, Michael S. Tsirkin, virtualization, Alexander Viro,
linux-fsdevel
This is useful for people who want to create an eventfd in kernel,
e.g. vhost-blk.
Signed-off-by: Asias He <asias@redhat.com>
---
fs/eventfd.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/fs/eventfd.c b/fs/eventfd.c
index d81b9f6..b288963 100644
--- a/fs/eventfd.c
+++ b/fs/eventfd.c
@@ -402,6 +402,7 @@ struct file *eventfd_file_create(unsigned int count, int flags)
return file;
}
+EXPORT_SYMBOL_GPL(eventfd_file_create);
SYSCALL_DEFINE2(eventfd2, unsigned int, count, int, flags)
{
--
1.7.10.4
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2012-07-12 15:42 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-12 15:42 [PATCH 2/5] eventfd: Export symbol eventfd_file_create() Asias He
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).