9p: introduce the V9fsDir type
commitf314ea4e30a1ef87bf8845da952c6dd0bac20b95
authorGreg Kurz <gkurz@linux.vnet.ibm.com>
Mon, 6 Jun 2016 09:52:34 +0000 (6 11:52 +0200)
committerGreg Kurz <gkurz@linux.vnet.ibm.com>
Mon, 6 Jun 2016 09:52:34 +0000 (6 11:52 +0200)
tree16ceafb7280c2061bd8de7026a52b60f897bda71
parent8762a46d3637f388fd9d2463dd966814522d5689
9p: introduce the V9fsDir type

If we are to switch back to readdir(), we need a more complex type than
DIR * to be able to serialize concurrent accesses to the directory stream.

This patch introduces a placeholder type and fixes all users.

Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Greg Kurz <gkurz@linux.vnet.ibm.com>
hw/9pfs/9p-handle.c
hw/9pfs/9p-local.c
hw/9pfs/9p-proxy.c
hw/9pfs/9p.c
hw/9pfs/9p.h