]> git.proxmox.com Git - mirror_qemu.git/commit - configure
hw/9pfs: Add st_gen support in getattr reply
authorHarsh Prateek Bora <harsh@linux.vnet.ibm.com>
Wed, 12 Oct 2011 13:41:25 +0000 (19:11 +0530)
committerAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Sat, 15 Oct 2011 10:00:27 +0000 (15:30 +0530)
commite06a765efbe3239d4b6148727a29342ab234180e
treeaeea24e5fe8581111d1b3d8936ea81038b8d6161
parent9844081bcaf6e0fcfafa91441dde0ae9d2c17e28
hw/9pfs: Add st_gen support in getattr reply

This patch use file system specific ioctl for getting i_generation
value. Not all file system support the ioctl. So we add an export
specific extended operation and assign right callback for the
file system that support i_generation ioctl

["M. Mohan Kumar" <mohan@in.ibm.com> we can do ioctl only for
regular files and directories on the server]

Signed-off-by: Harsh Prateek Bora <harsh@linux.vnet.ibm.com>
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
configure
fsdev/file-op-9p.h
hw/9pfs/cofile.c
hw/9pfs/virtio-9p-coth.h
hw/9pfs/virtio-9p-device.c
hw/9pfs/virtio-9p-local.c
hw/9pfs/virtio-9p.c