Btrfs: don't loop forever on bad btree blocks
authorChris Mason <chris.mason@oracle.com>
Sun, 24 Oct 2010 15:01:27 +0000 (11:01 -0400)
committerChris Mason <chris.mason@oracle.com>
Fri, 29 Oct 2010 13:31:30 +0000 (09:31 -0400)
When btrfs discovers the generation number in a btree block is
incorrect, it can loop forever without forcing the RAID
code to try a valid mirror, and without returning EIO.

This changes things to properly kick out the EIO.

Signed-off-by: Chris Mason <chris.mason@oracle.com>

No differences found