NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/50608 (udf fails the fs/vfs/t_vnops::create_many test)



The following reply was made to PR kern/50608; it has been noted by GNATS.

From: Reinoud Zandijk <reinoud%NetBSD.org@localhost>
To: Andreas Gustafsson <gson%gson.org@localhost>
Cc: pooka%NetBSD.org@localhost, gnats-bugs%NetBSD.org@localhost
Subject: Re: kern/50608 (udf fails the fs/vfs/t_vnops::create_many test)
Date: Wed, 13 Jan 2016 21:54:34 +0100

 On Wed, Jan 13, 2016 at 09:30:22PM +0200, Andreas Gustafsson wrote:
 > > If it would pass the filename exactly the same I see no reason it
 > > should not have found it.
 > 
 > When the test tries to delete "testfile0\n", UDF ends up looking up
 > "testfile0\n" in the dirhash, but the dirhash doesn't contain an entry
 > for "testfile0\n", only for "testfile0_#2A44".
 
 Ah!!! thanks for spotting the bug, it is indeed a bug in my UDF
 implementation; the dir detach and lookup functions seem to assume there are
 no illegal characters in the string. I guess the best way would be to do the
 unix->UDF->unix name dance to get a consistent result.
 
 I'll fix it :)
 Reinoud
 


Home | Main Index | Thread Index | Old Index