From 364031f17932814484657e5551ba12957d993d7e Mon Sep 17 00:00:00 2001 From: Wei Liu Date: Wed, 18 Nov 2015 18:25:29 +0000 Subject: [PATCH] 9pfs: rename virtio-9p-synth.{c,h} to 9p-synth.{c,h} These two files are not virtio specific. Rename them to use generic names. Fix includes in various C files. Change define guards and comments in header files. Signed-off-by: Wei Liu Signed-off-by: Aneesh Kumar K.V --- hw/9pfs/{virtio-9p-synth.c => 9p-synth.c} | 2 +- hw/9pfs/{virtio-9p-synth.h => 9p-synth.h} | 6 +++--- hw/9pfs/Makefile.objs | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) rename hw/9pfs/{virtio-9p-synth.c => 9p-synth.c} (99%) rename hw/9pfs/{virtio-9p-synth.h => 9p-synth.h} (94%) diff --git a/hw/9pfs/virtio-9p-synth.c b/hw/9pfs/9p-synth.c similarity index 99% rename from hw/9pfs/virtio-9p-synth.c rename to hw/9pfs/9p-synth.c index a0ab9a8..6d34b89 100644 --- a/hw/9pfs/virtio-9p-synth.c +++ b/hw/9pfs/9p-synth.c @@ -16,7 +16,7 @@ #include "virtio-9p.h" #include "virtio-9p-xattr.h" #include "fsdev/qemu-fsdev.h" -#include "virtio-9p-synth.h" +#include "9p-synth.h" #include "qemu/rcu.h" #include "qemu/rcu_queue.h" #include diff --git a/hw/9pfs/virtio-9p-synth.h b/hw/9pfs/9p-synth.h similarity index 94% rename from hw/9pfs/virtio-9p-synth.h rename to hw/9pfs/9p-synth.h index ab05a8e..eaf5a0c 100644 --- a/hw/9pfs/virtio-9p-synth.h +++ b/hw/9pfs/9p-synth.h @@ -1,5 +1,5 @@ /* - * Virtio 9p + * 9p * * Copyright IBM, Corp. 2011 * @@ -10,8 +10,8 @@ * the COPYING file in the top-level directory. * */ -#ifndef HW_9PFS_VIRTIO9P_SYNTH_H -#define HW_9PFS_VIRTIO9P_SYNTH_H 1 +#ifndef HW_9PFS_SYNTH_H +#define HW_9PFS_SYNTH_H 1 #include #include diff --git a/hw/9pfs/Makefile.objs b/hw/9pfs/Makefile.objs index cd5d146..ba62571 100644 --- a/hw/9pfs/Makefile.objs +++ b/hw/9pfs/Makefile.objs @@ -2,7 +2,7 @@ common-obj-y = virtio-9p.o common-obj-y += 9p-local.o virtio-9p-xattr.o common-obj-y += virtio-9p-xattr-user.o 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-y += coxattr.o 9p-synth.o common-obj-$(CONFIG_OPEN_BY_HANDLE) += 9p-handle.o common-obj-y += 9p-proxy.o -- 2.7.4