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

Oleg Drokin
2002-02-14T10:02:05Z

[-- Attachment #1: Type: text/plain, Size: 467 bytes --]

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

[-- Attachment #2: new_lookup_locking_fix.diff --]
[-- Type: text/plain, Size: 390 bytes --]

--- 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);