From patchwork Thu Jun 18 17:44:16 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gregory Haskins X-Patchwork-Id: 31194 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n5IHj6J6019134 for ; Thu, 18 Jun 2009 17:45:06 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756510AbZFRRo2 (ORCPT ); Thu, 18 Jun 2009 13:44:28 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1756141AbZFRRo1 (ORCPT ); Thu, 18 Jun 2009 13:44:27 -0400 Received: from victor.provo.novell.com ([137.65.250.26]:36251 "EHLO victor.provo.novell.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755485AbZFRRoZ (ORCPT ); Thu, 18 Jun 2009 13:44:25 -0400 Received: from dev.haskins.net (prv-ext-foundry1.gns.novell.com [137.65.251.240]) by victor.provo.novell.com with ESMTP (TLS encrypted); Thu, 18 Jun 2009 11:44:18 -0600 Received: from dev.haskins.net (localhost [127.0.0.1]) by dev.haskins.net (Postfix) with ESMTP id A06C84641EB; Thu, 18 Jun 2009 13:44:16 -0400 (EDT) From: Gregory Haskins Subject: [KVM PATCH 1/4] KVM: update inaccurate irqfd comment To: kvm@vger.kernel.org Cc: linux-kernel@vger.kernel.org, davidel@xmailserver.org, mingo@elte.hu, mst@redhat.com, avi@redhat.com, paulmck@linux.vnet.ibm.com, rusty@rustcorp.com.au Date: Thu, 18 Jun 2009 13:44:16 -0400 Message-ID: <20090618174416.24119.20906.stgit@dev.haskins.net> In-Reply-To: <20090618173534.24119.95115.stgit@dev.haskins.net> References: <20090618173534.24119.95115.stgit@dev.haskins.net> User-Agent: StGIT/0.14.3 MIME-Version: 1.0 Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org We no longer hold the fget() for the irqfd lifetime, so clean up the comments related to that. Signed-off-by: Gregory Haskins --- virt/kvm/eventfd.c | 3 --- 1 files changed, 0 insertions(+), 3 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/virt/kvm/eventfd.c b/virt/kvm/eventfd.c index 2c8028c..a0e329f 100644 --- a/virt/kvm/eventfd.c +++ b/virt/kvm/eventfd.c @@ -156,9 +156,6 @@ kvm_irqfd(struct kvm *kvm, int fd, int gsi, int flags) INIT_LIST_HEAD(&irqfd->list); INIT_WORK(&irqfd->inject, irqfd_inject); - /* - * Embed the file* lifetime in the irqfd. - */ file = eventfd_fget(fd); if (IS_ERR(file)) { ret = PTR_ERR(file);