diff options
author | Chris Mason <chris.mason@oracle.com> | 2007-11-08 10:59:22 -0500 |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2008-09-25 11:03:57 -0400 |
commit | 3ab2fb5a8cb003897016b6eb38ddad916226c1b2 (patch) | |
tree | dce5ac7ae586111c7e872193c09ced717b936549 /fs/btrfs/extent_map.h | |
parent | 856bf3e592f917e7d663cb7fa93e83fe795e8f4e (diff) |
Btrfs: Add readpages support
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/extent_map.h')
-rw-r--r-- | fs/btrfs/extent_map.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/fs/btrfs/extent_map.h b/fs/btrfs/extent_map.h index 0b0dcf19fe45..fbd23a72f53b 100644 --- a/fs/btrfs/extent_map.h +++ b/fs/btrfs/extent_map.h | |||
@@ -140,6 +140,10 @@ int extent_writepages(struct extent_map_tree *tree, | |||
140 | struct address_space *mapping, | 140 | struct address_space *mapping, |
141 | get_extent_t *get_extent, | 141 | get_extent_t *get_extent, |
142 | struct writeback_control *wbc); | 142 | struct writeback_control *wbc); |
143 | int extent_readpages(struct extent_map_tree *tree, | ||
144 | struct address_space *mapping, | ||
145 | struct list_head *pages, unsigned nr_pages, | ||
146 | get_extent_t get_extent); | ||
143 | int extent_prepare_write(struct extent_map_tree *tree, | 147 | int extent_prepare_write(struct extent_map_tree *tree, |
144 | struct inode *inode, struct page *page, | 148 | struct inode *inode, struct page *page, |
145 | unsigned from, unsigned to, get_extent_t *get_extent); | 149 | unsigned from, unsigned to, get_extent_t *get_extent); |