Re: [PATCH 7/3] Make index preloading check the whole path to the file
- From
Linus Torvalds <torvalds@linux-foundation.org>
- Date
- Jul 10, 2009, 03:29 UTC
- Message-ID
- <alpine.LFD.2.01.0907092028480.3352@localhost.localdomain>
- In-Reply-To
- <7v8wixw7s0.fsf@alter.siamese.dyndns.org>
On Thu, 9 Jul 2009, Junio C Hamano wrote:
> > I must be missing something very obvious, but how would this call behave > on an uninitialized cache defined above, or do we need reset_lstat_cache() > on it before the first use?
Neither.
It should be memset() to zero. Good catch.
Linus