Thread (3 messages) 3 messages, 2 authors, 2012-01-27

Re: [PATCH] uml/hostfs: Propagate dirent.d_type to filldir()

From: Christoph Hellwig <hch@infradead.org>
Date: 2012-01-27 18:20:17
Also in: linux-um, lkml

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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help