aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/scrub.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/btrfs/scrub.c')
-rw-r--r--fs/btrfs/scrub.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/btrfs/scrub.c b/fs/btrfs/scrub.c
index c026fa6b9553..b9c37ac9ed1b 100644
--- a/fs/btrfs/scrub.c
+++ b/fs/btrfs/scrub.c
@@ -679,8 +679,7 @@ static int scrub_fixup_readpage(u64 inum, u64 offset, u64 root, void *fixup_ctx)
679 ret = -EIO; 679 ret = -EIO;
680 goto out; 680 goto out;
681 } 681 }
682 fs_info = BTRFS_I(inode)->root->fs_info; 682 ret = repair_io_failure(inode, offset, PAGE_SIZE,
683 ret = repair_io_failure(fs_info, offset, PAGE_SIZE,
684 fixup->logical, page, 683 fixup->logical, page,
685 offset - page_offset(page), 684 offset - page_offset(page),
686 fixup->mirror_num); 685 fixup->mirror_num);