Skip to content

Commit

Permalink
9pfs: rename virtio-9p-handle.c to 9p-handle.c
Browse files Browse the repository at this point in the history
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 <wei.liu2@citrix.com>
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
  • Loading branch information
Wei Liu authored and kvaneesh committed Jan 8, 2016
1 parent fe52840 commit 3b9ca04
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions hw/9pfs/virtio-9p-handle.c → hw/9pfs/9p-handle.c
@@ -1,5 +1,5 @@
/*
* Virtio 9p handle callback
* 9p handle callback
*
* Copyright IBM, Corp. 2011
*
Expand All @@ -11,7 +11,6 @@
*
*/

#include "hw/virtio/virtio.h"
#include "virtio-9p.h"
#include "virtio-9p-xattr.h"
#include <arpa/inet.h>
Expand Down
2 changes: 1 addition & 1 deletion hw/9pfs/Makefile.objs
Expand Up @@ -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

0 comments on commit 3b9ca04

Please sign in to comment.