Guest User

Untitled

a guest
Apr 21st, 2018
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.65 KB | None | 0 0
  1. diff --git a/fs/btrfs/extent_io.c b/fs/btrfs/extent_io.c
  2. index be1bf62..3a298d9 100644
  3. --- a/fs/btrfs/extent_io.c
  4. +++ b/fs/btrfs/extent_io.c
  5. @@ -2065,7 +2065,7 @@ static int bio_readpage_error(struct bio *failed_bio, struct page *page,
  6. num_copies = btrfs_num_copies(
  7. &BTRFS_I(inode)->root->fs_info->mapping_tree,
  8. failrec->logical, failrec->len);
  9. - if (num_copies == 1) {
  10. + if (0 && num_copies == 1) {
  11. /*
  12. * we only have a single copy of the data, so don't bother with
  13. * all the retry and error correction code that follows. no
Add Comment
Please, Sign In to add comment