Hammer on snapshot cd's
Johannes Hofmann
hofmann at blob.baaderstrasse.com
Tue Jul 15 09:50:58 PDT 2008
Matthew Dillon <dillon at apollo.backplane.com> wrote:
>
> :Yes it's weird. It's reproducible with gcc34 compiled vkernels btw.
> :
> :Cheers,
> :Johannes
> :
>
> That is very odd. Maybe there's a 64-bit arithmatic problem somewhere
> w/ gcc-34.
Hi Matt,
the following patch fixes the problem for me. Not sure whether it is the
correct solution though.
Cheers,
Johannes
Index: hammer_btree.c
===================================================================
RCS file: /home/dcvs/src/sys/vfs/hammer/hammer_btree.c,v
retrieving revision 1.71
diff -u -r1.71 hammer_btree.c
--- hammer_btree.c 13 Jul 2008 09:32:48 -0000 1.71
+++ hammer_btree.c 15 Jul 2008 16:39:23 -0000
@@ -117,7 +117,7 @@
{
hammer_node_ondisk_t node;
hammer_btree_elm_t elm;
- int error;
+ int error = 0;
int r;
int s;
More information about the Users
mailing list