]> git.proxmox.com Git - qemu.git/commit
hw/9pfs: Use the correct file descriptor in Fsdriver Callback
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Sun, 4 Dec 2011 17:05:28 +0000 (22:35 +0530)
committerAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Sun, 4 Dec 2011 17:05:28 +0000 (22:35 +0530)
commit8b8882722210334f19b41950c82c529e33f97b00
tree553a6204f98a7a8d27757e061167ead3ffb5a9c2
parent8798d6c98ea32bde6cebf7652730c3273ce38fd4
hw/9pfs: Use the correct file descriptor in Fsdriver Callback

Fsdriver callback that operate on file descriptor need to
differentiate between directory fd and file fd.

Based on the original patch from Sassan Panahinejad <sassan@sassan.me.uk>

Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
fsdev/file-op-9p.h
hw/9pfs/cofile.c
hw/9pfs/virtio-9p-handle.c
hw/9pfs/virtio-9p-local.c
hw/9pfs/virtio-9p-synth.c