-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hey all - When reiserfsck traverses the tree looking for errors, one of the checks it performs is to see if the hash on disk matches the expected hash, computed from the filename. However, the handling of hash = 0 is broken in reiserfsck. In the kernel, hash = 0 is considered special and is adjusted to 0x80. reiserfsck doesn't perform this adjustment, and yields fatal errors with ~ instructions to use --rebuild-tree, even though no such error exists. reiserfs_add_entry() in the semantic rebuild uses the correct adjustment, from hash_value() This filename has hash = 0: G60V0AAT6HJ0000000000000001IC8TRGDUN604xDOCCM2IFN304Q~GM~M2 Attached is a patch to good_name(), allowing reiserfsprogs to properly handle filenames with hash = 0. Please apply. - -Jeff - -- Jeff Mahoney SuSE Labs -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBSEkULPWxlyuTD7IRAouvAKCaPDwiKW47iUD9zkBOtdCsLpofywCfXZNX 5v0/2Z1LB+EYRFNrByTRJDI= =K18H -----END PGP SIGNATURE-----