aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fs/btrfs/extent_io.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/fs/btrfs/extent_io.h b/fs/btrfs/extent_io.h
index f7ca1516f70b..79bd20cf4226 100644
--- a/fs/btrfs/extent_io.h
+++ b/fs/btrfs/extent_io.h
@@ -95,9 +95,6 @@ struct btrfs_inode;
95struct btrfs_io_bio; 95struct btrfs_io_bio;
96struct io_failure_record; 96struct io_failure_record;
97 97
98typedef blk_status_t (extent_submit_bio_hook_t)(void *private_data, struct bio *bio,
99 int mirror_num, unsigned long bio_flags,
100 u64 bio_offset);
101 98
102typedef blk_status_t (extent_submit_bio_start_t)(void *private_data, 99typedef blk_status_t (extent_submit_bio_start_t)(void *private_data,
103 struct bio *bio, u64 bio_offset); 100 struct bio *bio, u64 bio_offset);
@@ -107,7 +104,9 @@ struct extent_io_ops {
107 * The following callbacks must be always defined, the function 104 * The following callbacks must be always defined, the function
108 * pointer will be called unconditionally. 105 * pointer will be called unconditionally.
109 */ 106 */
110 extent_submit_bio_hook_t *submit_bio_hook; 107 blk_status_t (*submit_bio_hook)(void *private_data, struct bio *bio,
108 int mirror_num, unsigned long bio_flags,
109 u64 bio_offset);
111 int (*readpage_end_io_hook)(struct btrfs_io_bio *io_bio, u64 phy_offset, 110 int (*readpage_end_io_hook)(struct btrfs_io_bio *io_bio, u64 phy_offset,
112 struct page *page, u64 start, u64 end, 111 struct page *page, u64 start, u64 end,
113 int mirror); 112 int mirror);