diff options
Diffstat (limited to 'fs/btrfs/extent_io.h')
-rw-r--r-- | fs/btrfs/extent_io.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/fs/btrfs/extent_io.h b/fs/btrfs/extent_io.h index e48346147514..f1960dafaa19 100644 --- a/fs/btrfs/extent_io.h +++ b/fs/btrfs/extent_io.h | |||
@@ -36,9 +36,12 @@ struct extent_io_ops { | |||
36 | int (*readpage_io_failed_hook)(struct bio *bio, struct page *page, | 36 | int (*readpage_io_failed_hook)(struct bio *bio, struct page *page, |
37 | u64 start, u64 end, | 37 | u64 start, u64 end, |
38 | struct extent_state *state); | 38 | struct extent_state *state); |
39 | int (*writepage_io_failed_hook)(struct bio *bio, struct page *page, | ||
40 | u64 start, u64 end, | ||
41 | struct extent_state *state); | ||
39 | int (*readpage_end_io_hook)(struct page *page, u64 start, u64 end, | 42 | int (*readpage_end_io_hook)(struct page *page, u64 start, u64 end, |
40 | struct extent_state *state); | 43 | struct extent_state *state); |
41 | void (*writepage_end_io_hook)(struct page *page, u64 start, u64 end, | 44 | int (*writepage_end_io_hook)(struct page *page, u64 start, u64 end, |
42 | struct extent_state *state); | 45 | struct extent_state *state); |
43 | int (*set_bit_hook)(struct inode *inode, u64 start, u64 end, | 46 | int (*set_bit_hook)(struct inode *inode, u64 start, u64 end, |
44 | unsigned long old, unsigned long bits); | 47 | unsigned long old, unsigned long bits); |
@@ -212,6 +215,8 @@ int set_extent_buffer_dirty(struct extent_io_tree *tree, | |||
212 | struct extent_buffer *eb); | 215 | struct extent_buffer *eb); |
213 | int set_extent_buffer_uptodate(struct extent_io_tree *tree, | 216 | int set_extent_buffer_uptodate(struct extent_io_tree *tree, |
214 | struct extent_buffer *eb); | 217 | struct extent_buffer *eb); |
218 | int clear_extent_buffer_uptodate(struct extent_io_tree *tree, | ||
219 | struct extent_buffer *eb); | ||
215 | int extent_buffer_uptodate(struct extent_io_tree *tree, | 220 | int extent_buffer_uptodate(struct extent_io_tree *tree, |
216 | struct extent_buffer *eb); | 221 | struct extent_buffer *eb); |
217 | int map_extent_buffer(struct extent_buffer *eb, unsigned long offset, | 222 | int map_extent_buffer(struct extent_buffer *eb, unsigned long offset, |