Messages in this thread | | | Date | Fri, 27 Jan 2012 13:20:17 -0500 | From | Christoph Hellwig <> | Subject | Re: [PATCH] uml/hostfs: Propagate dirent.d_type to filldir() |
| |
On Fri, Jan 27, 2012 at 07:14:58PM +0100, Geert Uytterhoeven wrote: > 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.
What software would that be? We have lots of filesystems not filling in d_type, and several operating systems don't have it at all.
| |