[OpenAFS] Re: modload failing, Sol10 SPARC, 1.4.14
chas williams - CONTRACTOR
Wed, 1 Jun 2011 07:38:10 -0400
On Wed, 1 Jun 2011 00:25:00 -0500
Andrew Deason <email@example.com> wrote:
> On Tue, 31 May 2011 18:44:24 -0400
> Derrick Brashear <firstname.lastname@example.org> wrote:
> > or, for now, just replace that with
> > memset(dirHeader->hashTable, 0, NHASHENT*(unsigned short));
> > and move along?
> Yeah but, I'd like to get a better solution for when this happens again.
> Prohibiting loops like that would be a bizarre requirement :)
loops like that should not be written. memset() can do a better job of
zero'ing memory than iterating each member.