Re: [PATCH] e2fsck journal recovery can corrupt all superblock backups

2007-06-18 Thread Theodore Tso
On Thu, Feb 08, 2007 at 11:24:44PM -0700, Andreas Dilger wrote: Looking through the e2fsck code it would also seem possible to move the setting of EXT2_FLAG_MASTER_SB_ONLY before the journal replay. That is the second patch. I'm not sure which one is better. I ended up doing both just to be

[PATCH] e2fsck journal recovery can corrupt all superblock backups

2007-02-08 Thread Andreas Dilger
Ted, this was sent with the first patch, and it looks like it is a very serious problem. Looking through the e2fsck code it would also seem possible to move the setting of EXT2_FLAG_MASTER_SB_ONLY before the journal replay. That is the second patch. I'm not sure which one is better. Jim