commit | 3ee6bd8e8dc0c58b9ba5bab7ef8a7a131da346eb | [log] [tgz] |
---|---|---|
author | Geert Uytterhoeven <geert@linux-m68k.org> | Fri Jan 27 19:14:58 2012 +0100 |
committer | Richard Weinberger <richard@nod.at> | Sun Mar 25 00:29:52 2012 +0100 |
tree | b1050db82803495116ac255a2b6c755622bd1044 | |
parent | c0b79a90b1556a7e51d7a49a655eb60306f6258d [diff] |
uml/hostfs: Propagate dirent.d_type to filldir() 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>