> On Sep 11, 2019, at 8:18 AM, David Holland <dholland-t...@netbsd.org> wrote: > > I'm confused; nothing in there should lead to duplicate entries...
Duplicate names != duplicate entries. Consider the case: bin/CVS bin/cat/CVS . . . bin/sh/CVS . . . Distinct vnodes, with distinct parents, all having the same name. Another advantage of de-duping the name strings is that you can compare names by testing pointer equivalence. -- thorpej