qemu-e2k/hw/9pfs
Bastian Blank 840a1bf283 hw/9pfs: Don't return type from host in readdir on local 9p filesystem
When using mapped mode in 9pfs, readdir implementation
should not return file type in d_type from the host
readdir, instead, it should use the type stored in
the extended attributes.  Since d_type is optional
and reading ext attrs for every readdir is expensive,
it should be sufficient to just set d_type to DT_UNKNOWN,
so guest will know to look it up separately.

This is a -stable material.

Signed-off-by: Bastian Blank <waldi@debian.org>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
2014-09-04 10:51:13 -05:00
..
codir.c
cofile.c
cofs.c hw/9pfs: use g_strdup_printf() instead of PATH_MAX limitation 2014-03-04 00:57:57 +05:30
coxattr.c
Makefile.objs
virtio-9p-coth.c
virtio-9p-coth.h
virtio-9p-device.c virtio-9p: use virtio wrappers to access headers 2014-06-29 19:39:43 +03:00
virtio-9p-handle.c hw/9pfs: use g_strdup_printf() instead of PATH_MAX limitation 2014-03-04 00:57:57 +05:30
virtio-9p-local.c hw/9pfs: Don't return type from host in readdir on local 9p filesystem 2014-09-04 10:51:13 -05:00
virtio-9p-posix-acl.c hw/9pfs: use g_strdup_printf() instead of PATH_MAX limitation 2014-03-04 00:57:57 +05:30
virtio-9p-proxy.c
virtio-9p-proxy.h
virtio-9p-synth.c hw/9pfs: Add missing 'static' attributes 2014-05-07 21:00:43 +04:00
virtio-9p-synth.h
virtio-9p-xattr-user.c hw/9pfs: use g_strdup_printf() instead of PATH_MAX limitation 2014-03-04 00:57:57 +05:30
virtio-9p-xattr.c hw/9pfs: use g_strdup_printf() instead of PATH_MAX limitation 2014-03-04 00:57:57 +05:30
virtio-9p-xattr.h hw/9pfs: use g_strdup_printf() instead of PATH_MAX limitation 2014-03-04 00:57:57 +05:30
virtio-9p.c virtio: Drop superfluous conditionals around g_free() 2014-06-19 16:41:53 +03:00
virtio-9p.h hw/9pfs: use g_strdup_printf() instead of PATH_MAX limitation 2014-03-04 00:57:57 +05:30