diff options
Diffstat (limited to 'fs/btrfs/extent_io.c')
-rw-r--r-- | fs/btrfs/extent_io.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/extent_io.c b/fs/btrfs/extent_io.c index 0786985a8cc5..28e81922a21c 100644 --- a/fs/btrfs/extent_io.c +++ b/fs/btrfs/extent_io.c | |||
@@ -2581,7 +2581,7 @@ static void end_bio_extent_readpage(struct bio *bio) | |||
2581 | if (likely(uptodate)) | 2581 | if (likely(uptodate)) |
2582 | goto readpage_ok; | 2582 | goto readpage_ok; |
2583 | 2583 | ||
2584 | if (tree->ops && tree->ops->readpage_io_failed_hook) { | 2584 | if (tree->ops) { |
2585 | ret = tree->ops->readpage_io_failed_hook(page, mirror); | 2585 | ret = tree->ops->readpage_io_failed_hook(page, mirror); |
2586 | if (!ret && !bio->bi_error) | 2586 | if (!ret && !bio->bi_error) |
2587 | uptodate = 1; | 2587 | uptodate = 1; |