[<prev] [next>] [day] [month] [year] [list]
Message-Id: <1342107725-28325-1-git-send-email-asias@redhat.com>
Date:	Thu, 12 Jul 2012 23:42:05 +0800
From:	Asias He <asias@...hat.com>
To:	linux-kernel@...r.kernel.org
Cc:	virtualization@...ts.linux-foundation.org, kvm@...r.kernel.org,
	Alexander Viro <viro@...iv.linux.org.uk>,
	"Michael S. Tsirkin" <mst@...hat.com>,
	linux-fsdevel@...r.kernel.org, Asias He <asias@...hat.com>
Subject: [PATCH 2/5] eventfd: Export symbol eventfd_file_create()
This is useful for people who want to create an eventfd in kernel,
e.g. vhost-blk.
Signed-off-by: Asias He <asias@...hat.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
--
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
 
