Re: [PATCH] fix for htree corruption. Was: [2.6] Perl weirdnesswith ext3 and HTREE
From: Andrew Morton
Date: Tue Aug 19 2003 - 05:56:25 EST
chrisl@xxxxxxxxxx wrote:
>
> Martin,
>
> 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.
whee, neat, thanks.
> Andrew, I assume touch inode->i_ctime after
> ext3_mark_inode_dirty is a bug? The second patch is for that.
That's correct.
Could you please regenerate a full, single diff against a known kernel
version? That patch generated 100% rejects for me...
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/