]> git.proxmox.com Git - qemu.git/commit - hw/9pfs/virtio-9p-coth.h
hw/9pfs: Use read-write lock for protecting fid path.
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Tue, 24 May 2011 09:40:56 +0000 (15:10 +0530)
committerAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Thu, 22 Sep 2011 16:08:52 +0000 (21:38 +0530)
commit02cb7f3a256517cbf3136caff2863fbafc57b540
tree1d741e85dfe584b35a4a5e69a086d7b19fafd0ad
parent70c18fc08bcc9e9bbd8c00ca5e694e07890687e5
hw/9pfs: Use read-write lock for protecting fid path.

On rename we take the write lock and this ensure path
doesn't change as we operate on them.

Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
hw/9pfs/codir.c
hw/9pfs/cofile.c
hw/9pfs/cofs.c
hw/9pfs/coxattr.c
hw/9pfs/virtio-9p-coth.h
hw/9pfs/virtio-9p-device.c
hw/9pfs/virtio-9p.c
hw/9pfs/virtio-9p.h