Thread (1 message) 1 message, 1 author, 2016-06-15

Re: Re* ext3: fix ext3_dx_readdir hash collision handling - Regression

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:45:31

Linus Torvalds [off-list ref] writes:
On Fri, 24 Oct 2008, Junio C Hamano wrote:
quoted
Subject: allow readdir(3) to return the same entry twice
The thing is, this really is a kernel bug. We have even bisected it (and 
it hasn't hit any released kernel). The original reporter showed it with a 
simple "rm -r".

So it really isn't a git bug, even though I initially thought it might be, 
before I looked closer.

That said, the git patch may be worth it just because two *concurrent* 
invocations of "git clean" could then cause one (or both) to fail this 
way.
Yeah, or on perhaps a buggy implementation of readdir(3) on somebody
else's system.  In either case, I just thought it might be a low impact
belt-and-suspenders fix that is worth considering.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help