diff options
author | Stefan Behrens <sbehrens@giantdisaster.de> | 2012-11-05 09:46:42 -0500 |
---|---|---|
committer | Josef Bacik <jbacik@fusionio.com> | 2012-12-12 17:15:34 -0500 |
commit | 3ec706c831d4c96905c287013c8228b21619a1d9 (patch) | |
tree | b5f8ac6333bd0d54b87f4d367aaf3d6101eeef5b /fs/btrfs/extent_io.h | |
parent | 5d9640517d92d05843711ea982cbeff42d7ed32d (diff) |
Btrfs: pass fs_info to btrfs_map_block() instead of mapping_tree
This is required for the device replace procedure in a later step.
Two calling functions also had to be changed to have the fs_info
pointer: repair_io_failure() and scrub_setup_recheck_block().
Signed-off-by: Stefan Behrens <sbehrens@giantdisaster.de>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
Diffstat (limited to 'fs/btrfs/extent_io.h')
-rw-r--r-- | fs/btrfs/extent_io.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/btrfs/extent_io.h b/fs/btrfs/extent_io.h index 711d12b80028..2eacfabd3263 100644 --- a/fs/btrfs/extent_io.h +++ b/fs/btrfs/extent_io.h | |||
@@ -337,9 +337,9 @@ struct bio * | |||
337 | btrfs_bio_alloc(struct block_device *bdev, u64 first_sector, int nr_vecs, | 337 | btrfs_bio_alloc(struct block_device *bdev, u64 first_sector, int nr_vecs, |
338 | gfp_t gfp_flags); | 338 | gfp_t gfp_flags); |
339 | 339 | ||
340 | struct btrfs_mapping_tree; | 340 | struct btrfs_fs_info; |
341 | 341 | ||
342 | int repair_io_failure(struct btrfs_mapping_tree *map_tree, u64 start, | 342 | int repair_io_failure(struct btrfs_fs_info *fs_info, u64 start, |
343 | u64 length, u64 logical, struct page *page, | 343 | u64 length, u64 logical, struct page *page, |
344 | int mirror_num); | 344 | int mirror_num); |
345 | int end_extent_writepage(struct page *page, int err, u64 start, u64 end); | 345 | int end_extent_writepage(struct page *page, int err, u64 start, u64 end); |