Re: [PATCH] make sure xfs_repair doesn't restore corrupted primary superblock

Nathan Scott
2007-02-21T04:04:19Z

On Wed, 2007-02-21 at 13:05 +1100, Barry Naujok wrote:
> Phase 2 in xfs_repair fixes corrupted superblock fields, but in phase 5, the
> originally read primary superblock before the phase 2 fix is written to disk
> with updated counters. The patch in scan.c makes sure the mount point
> superblock copy is updated if the primary superblock is modified.
>
> Included is some fixes to libxfs when IO_DEBUG is enabled.

Looks good to me.

--
Nathan