[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 2/4] 9p: introduce the V9fsDir type
From: |
Eric Blake |
Subject: |
Re: [Qemu-devel] [PATCH 2/4] 9p: introduce the V9fsDir type |
Date: |
Thu, 2 Jun 2016 14:05:46 -0600 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 |
On 06/02/2016 02:52 AM, Greg Kurz wrote:
> 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.
>
> Signed-off-by: Greg Kurz <address@hidden>
> ---
> hw/9pfs/9p-handle.c | 18 +++++++++---------
> hw/9pfs/9p-local.c | 18 +++++++++---------
> hw/9pfs/9p-proxy.c | 20 ++++++++++----------
> hw/9pfs/9p.c | 12 ++++++------
> hw/9pfs/9p.h | 6 +++++-
> 5 files changed, 39 insertions(+), 35 deletions(-)
>
Reviewed-by: Eric Blake <address@hidden>
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
- [Qemu-devel] [PATCH 0/4] 9p: get rid of readdir_r(), Greg Kurz, 2016/06/02
- [Qemu-devel] [PATCH 1/4] 9p: drop useless out: label, Greg Kurz, 2016/06/02
- [Qemu-devel] [PATCH 2/4] 9p: introduce the V9fsDir type, Greg Kurz, 2016/06/02
- Re: [Qemu-devel] [PATCH 2/4] 9p: introduce the V9fsDir type,
Eric Blake <=
- [Qemu-devel] [PATCH 3/4] 9p: add locking to V9fsDir, Greg Kurz, 2016/06/02
- [Qemu-devel] [PATCH 4/4] 9p: switch back to readdir(), Greg Kurz, 2016/06/02
- Re: [Qemu-devel] [PATCH 0/4] 9p: get rid of readdir_r(), Peter Maydell, 2016/06/02