From: Vladimir Saveliev <vs@namesys.com>
To: Andreas <IOBuf@gmx.de>
Cc: reiserfs-list@namesys.com
Subject: Re: fsck.reiser4 problem (was: reiser4 corruption problem)
Date: Tue, 31 Aug 2004 18:43:25 +0400 [thread overview]
Message-ID: <1093963404.2716.480.camel@tribesman.namesys.com> (raw)
In-Reply-To: <200408311603.56537.IOBuf@gmx.de>
[-- Attachment #1: Type: text/plain, Size: 574 bytes --]
Hello
On Tue, 2004-08-31 at 18:03, Andreas wrote:
> Hello,
>
> > Would you, please, provide exact sequences of operations which confuses
> > reiser4?
>
> mkfs.reiser4 /dev/discs/disc0/part2
> mount /dev/discs/disc0/part2 /mnt/d0p2
> touch /mnt/d0p2/abcdefghijklmnopqäöüßßßß
> umount /mnt/d0p2
> fsck.reiser4 /dev/discs/disc0/part2
>
>
> And as I now realize "fsck.reiser4 --build-fs" produces always a segmentation
> fault here, even on a newly created Reiser4 filesystem.
>
Would you please try with the attached patch.
> Bye
> Andreas
>
[-- Attachment #2: r5_hash.c.diff --]
[-- Type: text/plain, Size: 487 bytes --]
--- reiser4progs-1.0.0/plugin/hash/r5_hash/r5_hash.c.orig 2004-08-31 18:48:01.749889832 +0400
+++ reiser4progs-1.0.0/plugin/hash/r5_hash/r5_hash.c 2004-08-31 18:46:08.864051088 +0400
@@ -9,10 +9,12 @@
uint64_t r5_hash_build(char *name, uint32_t len) {
uint32_t i;
uint64_t a = 0;
+ unsigned char *uname;
+ uname = (unsigned char *)name;
for (i = 0; i < len; i++) {
- a += name[i] << 4;
- a += name[i] >> 4;
+ a += uname[i] << 4;
+ a += uname[i] >> 4;
a *= 11;
}
next prev parent reply other threads:[~2004-08-31 14:43 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-08-31 1:24 fsck.reiser4 problem (was: reiser4 corruption problem) David Dabbs
2004-08-31 8:52 ` Michael Weissenbacher
[not found] ` <41344719.7040700@free.fr>
2004-08-31 9:43 ` fsck.reiser4 problem Michael Weissenbacher
2004-08-31 10:09 ` fsck.reiser4 problem (was: reiser4 corruption problem) Andreas
2004-08-31 12:30 ` Vladimir Saveliev
2004-08-31 12:37 ` Michael Weissenbacher
2004-08-31 14:03 ` Andreas
2004-08-31 14:43 ` Vladimir Saveliev [this message]
2004-08-31 15:04 ` Michael Weissenbacher
-- strict thread matches above, loose matches on Subject: below --
2004-08-31 16:18 David Dabbs
2004-08-31 16:32 ` Michael Weissenbacher
2004-08-31 1:10 David Dabbs
2004-08-30 21:07 David Dabbs
2004-08-31 0:02 ` Michael Weissenbacher
2004-08-26 23:15 reiser4 corruption problem (maybe related to "Broken reiser4 FS") Michael Weissenbacher
2004-08-28 21:49 ` fsck.reiser4 problem (was: reiser4 corruption problem) Michael Weissenbacher
2004-08-29 6:54 ` Adrian Ulrich
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1093963404.2716.480.camel@tribesman.namesys.com \
--to=vs@namesys.com \
--cc=IOBuf@gmx.de \
--cc=reiserfs-list@namesys.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.