diff options
author | Nikolay Borisov <nborisov@suse.com> | 2017-02-20 13:50:55 +0200 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2017-02-28 11:30:09 +0100 |
commit | 9d4f7f8ad69112137da0bbe4036b94739ae25f78 (patch) | |
tree | 28151f87f499edb0d68907fc0d37136910324d2c /fs/btrfs/scrub.c | |
parent | f898ac6ae339782bc304b2b15c9e187e438da9f7 (diff) | |
download | lwn-9d4f7f8ad69112137da0bbe4036b94739ae25f78.tar.gz lwn-9d4f7f8ad69112137da0bbe4036b94739ae25f78.zip |
btrfs: make repair_io_failure take btrfs_inode
Signed-off-by: Nikolay Borisov <nborisov@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/scrub.c')
-rw-r--r-- | fs/btrfs/scrub.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/scrub.c b/fs/btrfs/scrub.c index 82d873406aa3..bdf58b0eaef8 100644 --- a/fs/btrfs/scrub.c +++ b/fs/btrfs/scrub.c @@ -731,7 +731,7 @@ static int scrub_fixup_readpage(u64 inum, u64 offset, u64 root, void *fixup_ctx) ret = -EIO; goto out; } - ret = repair_io_failure(inode, offset, PAGE_SIZE, + ret = repair_io_failure(BTRFS_I(inode), offset, PAGE_SIZE, fixup->logical, page, offset - page_offset(page), fixup->mirror_num); |