From: Chris Mason Date: Sun, 24 Oct 2010 15:01:27 +0000 (-0400) Subject: Btrfs: don't loop forever on bad btree blocks X-Git-Tag: v2.6.37-rc1~19^2~21 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cb44921a09221f0a90217b44044448f63190f3e5;p=pandora-kernel.git Btrfs: don't loop forever on bad btree blocks 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 --- Reading git-diff-tree failed