Matthew Dillon <[email protected]> added the comment:

fixed in 92734e3dc3576d68a28eb7d539dd48de730ab82d.  fstat[v]fs() was using the
wrong mount pointer when calling cache_fullpath().

Also note that the test program supplied is buggy, this line is broken and
causes the fd to be assigned the value 0:

if (fd = open(FILE_PATH, O_RDONLY) == -1) ...  should be
if ((fd = open(FILE_PATH, O_RDONLY)) == -1) ...

-Matt

----------
status: chatting -> resolved

_____________________________________________________
DragonFly issue tracker <[email protected]>
<http://bugs.dragonflybsd.org/issue2030>
_____________________________________________________

Reply via email to