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
..
2014-08-29 15:00:29 +01:00
2014-08-15 19:12:48 +04:00
2013-12-24 18:02:18 +01:00
2014-08-29 10:46:57 +01:00
2014-08-15 18:54:06 +04:00
2014-08-14 13:22:00 +02:00
2014-06-27 13:48:22 +02:00
2014-08-25 00:16:07 +02:00
2014-08-25 00:16:06 +02:00
2014-06-30 21:13:30 +02:00
2014-09-01 09:25:32 +02:00
2014-06-30 21:13:30 +02:00
2014-08-25 00:16:06 +02:00
2014-08-29 12:52:14 +02:00
2014-08-18 12:06:21 +02:00