xfs
[Top] [All Lists]

[PATCH] xfs_repair doesn't detect corrupt btree roots in nodes

To: <xfs@xxxxxxxxxxx>
Subject: [PATCH] xfs_repair doesn't detect corrupt btree roots in nodes
From: "Barry Naujok" <bnaujok@xxxxxxxxxxxxxxxxx>
Date: Thu, 22 Feb 2007 12:32:43 +1100
Cc: <xfs-dev@xxxxxxx>
Sender: xfs-bounce@xxxxxxxxxxx
Thread-index: AcdWIVkkHK4i+MFOTcyO7HrNHKhnvA==
The attached patch detect invalid btree root field (numrecs = 0, levels >
permissable value).

The patch also does some cleanup with the level and numrecs usage for the
process_btinode function.

Attachment: detect_bad_btree_root.diff
Description: Binary data

<Prev in Thread] Current Thread [Next in Thread>
  • [PATCH] xfs_repair doesn't detect corrupt btree roots in nodes, Barry Naujok <=