From mboxrd@z Thu Jan 1 00:00:00 1970 From: Asias He Subject: [PATCH RESEND 2/5] eventfd: Export symbol eventfd_file_create() Date: Fri, 13 Jul 2012 16:55:08 +0800 Message-ID: <1342169711-12386-3-git-send-email-asias@redhat.com> References: <1342169711-12386-1-git-send-email-asias@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: kvm@vger.kernel.org, "Michael S. Tsirkin" , virtualization@lists.linux-foundation.org, Jeff Moyer , Alexander Viro , linux-fsdevel@vger.kernel.org To: linux-kernel@vger.kernel.org Return-path: In-Reply-To: <1342169711-12386-1-git-send-email-asias@redhat.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: virtualization-bounces@lists.linux-foundation.org Errors-To: virtualization-bounces@lists.linux-foundation.org List-Id: linux-fsdevel.vger.kernel.org This is useful for people who want to create an eventfd in kernel, e.g. vhost-blk. Cc: Alexander Viro Cc: Jeff Moyer Cc: Michael S. Tsirkin Cc: linux-fsdevel@vger.kernel.org Cc: linux-kernel@vger.kernel.org Cc: kvm@vger.kernel.org Cc: virtualization@lists.linux-foundation.org Signed-off-by: Asias He --- 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