summaryrefslogtreecommitdiffstats
path: root/hw/9pfs/virtio-9p-device.c
diff options
context:
space:
mode:
authorAnthony Liguori2012-02-08 14:23:55 +0100
committerAnthony Liguori2012-02-08 14:23:55 +0100
commitdc717bfd057ac3d6b75c633d57e501d5e6d5ef50 (patch)
treefb693fceacd28b9ccc47fe64b925e32bc52298cc /hw/9pfs/virtio-9p-device.c
parentMerge remote-tracking branch 'sweil/w32' into staging (diff)
parenthw/9pfs: Remove O_NOATIME flag from 9pfs open() calls in readonly mode (diff)
downloadqemu-dc717bfd057ac3d6b75c633d57e501d5e6d5ef50.tar.gz
qemu-dc717bfd057ac3d6b75c633d57e501d5e6d5ef50.tar.xz
qemu-dc717bfd057ac3d6b75c633d57e501d5e6d5ef50.zip
Merge remote-tracking branch 'aneesh/for-upstream' into staging
* aneesh/for-upstream: hw/9pfs: Remove O_NOATIME flag from 9pfs open() calls in readonly mode hw/9pfs: Update MAINTAINERS file fsdev: Fix parameter parsing for proxy helper hw/9pfs: Fix crash when mounting with synthfs hw/9pfs: Preserve S_ISGID hw/9pfs: Add new security model mapped-file.
Diffstat (limited to 'hw/9pfs/virtio-9p-device.c')
-rw-r--r--hw/9pfs/virtio-9p-device.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/hw/9pfs/virtio-9p-device.c b/hw/9pfs/virtio-9p-device.c
index 3f15540c5f..791a5572bb 100644
--- a/hw/9pfs/virtio-9p-device.c
+++ b/hw/9pfs/virtio-9p-device.c
@@ -91,15 +91,6 @@ VirtIODevice *virtio_9p_init(DeviceState *dev, V9fsConf *conf)
s->ctx.fs_root = NULL;
}
s->ctx.exops.get_st_gen = NULL;
-
- if (fse->export_flags & V9FS_SM_PASSTHROUGH) {
- s->ctx.xops = passthrough_xattr_ops;
- } else if (fse->export_flags & V9FS_SM_MAPPED) {
- s->ctx.xops = mapped_xattr_ops;
- } else if (fse->export_flags & V9FS_SM_NONE) {
- s->ctx.xops = none_xattr_ops;
- }
-
len = strlen(conf->tag);
if (len > MAX_TAG_LEN - 1) {
fprintf(stderr, "mount tag '%s' (%d bytes) is longer than "