uml/hostfs: Propagate dirent.d_type to filldir()
authorGeert Uytterhoeven <geert@linux-m68k.org>
Fri, 27 Jan 2012 18:14:58 +0000 (19:14 +0100)
committerRichard Weinberger <richard@nod.at>
Sat, 24 Mar 2012 23:29:52 +0000 (00:29 +0100)
Currently the (optional) d_type member in struct dirent is always
DT_UNKNOWN on hostfs, which may confuse buggy software using readdir().
Make sure to propagate its value from the underlying filesystem if it's
available there.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Richard Weinberger <richard@nod.at>

No differences found