Re: reiserfs oops with 2.5.5-pre1 (was: [reiserfs-dev] 2.5.4-pre1:)zero-filled files reiserfs

Oleg Drokin (green@namesys.com)
Thu, 14 Feb 2002 13:01:38 +0300


--PEIAKu/WMn1b1Hv9
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Hello!

On Thu, Feb 14, 2002 at 10:57:13AM +0100, Luigi Genoni wrote:
> Well, with 2.5.5-pre1 i get this oops:
>
> PAP-14030: direct2indirect: pasted or inserted byte exists in the
> treeinvalid operand: 0000
It means 2.5.2-dj3 or 2.5.3 kernel, you run some time ago,
have damaged your reiserfs filesystem.
Now you have to run reiserfsck --rebuild-tree on that partition.
Also you need attached patch to be able to user reiserfs on 2.5.5-pre1
at all.

Bye,
Oleg

--PEIAKu/WMn1b1Hv9
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="new_lookup_locking_fix.diff"

--- linux-2.5.5-pre1/fs/reiserfs/namei.c.orig Thu Feb 14 11:53:09 2002
+++ linux-2.5.5-pre1/fs/reiserfs/namei.c Thu Feb 14 11:53:17 2002
@@ -344,8 +344,6 @@
struct reiserfs_dir_entry de;
INITIALIZE_PATH (path_to_entry);

- reiserfs_check_lock_depth("lookup") ;
-
if (dentry->d_name.len > REISERFS_MAX_NAME_LEN (dir->i_sb->s_blocksize))
return ERR_PTR(-ENAMETOOLONG);

--PEIAKu/WMn1b1Hv9--
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/