xfs
[Top] [All Lists]

[PATCH] make sure xfs_repair doesn't restore corrupted primary superbloc

To: <xfs@xxxxxxxxxxx>
Subject: [PATCH] make sure xfs_repair doesn't restore corrupted primary superblock
From: "Barry Naujok" <bnaujok@xxxxxxxxxxxxxxxxx>
Date: Wed, 21 Feb 2007 13:05:22 +1100
Cc: <xfs-dev@xxxxxxx>
Sender: xfs-bounce@xxxxxxxxxxx
Thread-index: AcdVXL5bp6HFbdWHRjesgrZ4y7AHAA==
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.

Attachment: update_mp_superblock.diff
Description: Binary data

<Prev in Thread] Current Thread [Next in Thread>