diff options
author | Chris Mason <chris.mason@oracle.com> | 2010-10-24 17:01:27 +0200 |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2010-10-29 15:31:30 +0200 |
commit | cb44921a09221f0a90217b44044448f63190f3e5 (patch) | |
tree | 5580522b6db6868c02d3072320e338442272cb2b /fs/btrfs/tree-defrag.c | |
parent | Merge branch 'bug-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jos... (diff) | |
download | linux-cb44921a09221f0a90217b44044448f63190f3e5.tar.xz linux-cb44921a09221f0a90217b44044448f63190f3e5.zip |
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 <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/tree-defrag.c')
0 files changed, 0 insertions, 0 deletions