From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45990) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aGWvj-000346-4j for qemu-devel@nongnu.org; Tue, 05 Jan 2016 14:06:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aGWve-0002Ra-7Y for qemu-devel@nongnu.org; Tue, 05 Jan 2016 14:06:03 -0500 Received: from smtp.citrix.com ([66.165.176.89]:13455) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aGWve-0002Qc-3U for qemu-devel@nongnu.org; Tue, 05 Jan 2016 14:05:58 -0500 From: Wei Liu Date: Tue, 5 Jan 2016 19:05:41 +0000 Message-ID: <1452020761-24457-3-git-send-email-wei.liu2@citrix.com> In-Reply-To: <1452020761-24457-1-git-send-email-wei.liu2@citrix.com> References: <1452020761-24457-1-git-send-email-wei.liu2@citrix.com> MIME-Version: 1.0 Content-Type: text/plain Subject: [Qemu-devel] [PATCH 02/22] 9pfs: rename virtio-9p-handle.c to 9p-handle.c List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Wei Liu , "Aneesh Kumar K.V" , Greg Kurz This file is not virtio specific. Rename it to use generic name. Fix comment and remove unneeded inclusion of virtio.h. Signed-off-by: Wei Liu --- hw/9pfs/{virtio-9p-handle.c => 9p-handle.c} | 3 +-- hw/9pfs/Makefile.objs | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) rename hw/9pfs/{virtio-9p-handle.c => 9p-handle.c} (99%) diff --git a/hw/9pfs/virtio-9p-handle.c b/hw/9pfs/9p-handle.c similarity index 99% rename from hw/9pfs/virtio-9p-handle.c rename to hw/9pfs/9p-handle.c index 13eabb9..a48dbc9 100644 --- a/hw/9pfs/virtio-9p-handle.c +++ b/hw/9pfs/9p-handle.c @@ -1,5 +1,5 @@ /* - * Virtio 9p handle callback + * 9p handle callback * * Copyright IBM, Corp. 2011 * @@ -11,7 +11,6 @@ * */ -#include "hw/virtio/virtio.h" #include "virtio-9p.h" #include "virtio-9p-xattr.h" #include diff --git a/hw/9pfs/Makefile.objs b/hw/9pfs/Makefile.objs index 76dadbe..9fdd8a4 100644 --- a/hw/9pfs/Makefile.objs +++ b/hw/9pfs/Makefile.objs @@ -3,7 +3,7 @@ common-obj-y += virtio-9p-local.o virtio-9p-xattr.o common-obj-y += virtio-9p-xattr-user.o virtio-9p-posix-acl.o common-obj-y += coth.o cofs.o codir.o cofile.o common-obj-y += coxattr.o virtio-9p-synth.o -common-obj-$(CONFIG_OPEN_BY_HANDLE) += virtio-9p-handle.o +common-obj-$(CONFIG_OPEN_BY_HANDLE) += 9p-handle.o common-obj-y += virtio-9p-proxy.o obj-y += virtio-9p-device.o -- 2.1.4