diff --git a/fs/btrfs/disk-io.c b/fs/btrfs/disk-io.c index dd6676b446f654cb6ce6140a68c5c265432cd4d9..1a4a2a97592670b2d6f747afb240f9ee6722b19a 100644 --- a/fs/btrfs/disk-io.c +++ b/fs/btrfs/disk-io.c @@ -407,7 +407,7 @@ static int btree_read_extent_buffer_pages(struct btrfs_root *root, break; } - if (failed && !ret) + if (failed && !ret && failed_mirror) repair_eb_io_failure(root, eb, failed_mirror); return ret;