Re: [PATCH] fix for htree corruption. Was: [2.6] Perl weirdnesswith ext3 and HTREE

From: Martin Schlemmer
Date: Thu Aug 21 2003 - 14:48:29 EST


On Tue, 2003-08-19 at 12:40, chrisl@xxxxxxxxxx wrote:

Hi

>
> The first patch should fix it. The bug is trigger by creating the index.
> Coping out the index we assume the dirents start with the first entry
> after "." "..".
>
> It can make the first previous deleted entry reappear.
> In the past we set inode to zero for empty entry so this is not
> a problem. That is not true any more.
>
> Andrew, I assume touch inode->i_ctime after
> ext3_mark_inode_dirty is a bug? The second patch is for that.
>
>

I can confirm that this works as expected, many thanks!
Sorry for the long delay ...


Regards,

--

Martin Schlemmer



Attachment: signature.asc
Description: This is a digitally signed message part