[CALL FOR TESTERS] ReiserFS on non-i386 hardware patch
Jean-Sébastien Pédron
jspedron at club-internet.fr
Thu Jun 2 09:03:49 PDT 2005
Jung-uk Kim wrote:
>>Thank you Jung-Ku and David for your feedback.
>
> -------
> Jung-uk ;-)
Oops, sorry for this, Jung-uk :)
>>The problem come from this macro:
>>#define INITIALIZE_PATH(var) \
>> struct path var = { ILLEGAL_PATH_ELEMENT_OFFSET, }
>>where gcc generates a call to memset(). By replacing it with:
>>#define INITIALIZE_PATH(var) \
>> struct path var; \
>> bzero(&var); \
>
> ------------
> bzero(&var, sizeof(struct path));
>
>> var.path_length = ILLEGAL_PATH_ELEMENT_OFFSET
>>it works.
>
> Yes, it works (after the above fix).
I just wrote this code from memory, Olivier's fix was right at the
beginning.
--
Jean-Sébastien Pédron
http://www.dumbbell.fr/
PGP Key: http://www.dumbbell.fr/pgp/pubkey.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-amd64/attachments/20050602/4d9eee5f/signature.bin
More information about the freebsd-amd64
mailing list