diff options
author | Chris Mason <chris.mason@oracle.com> | 2007-11-08 15:59:22 (GMT) |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2008-09-25 15:03:57 (GMT) |
commit | 3ab2fb5a8cb003897016b6eb38ddad916226c1b2 (patch) | |
tree | dce5ac7ae586111c7e872193c09ced717b936549 /fs/btrfs/extent_map.h | |
parent | 856bf3e592f917e7d663cb7fa93e83fe795e8f4e (diff) | |
download | linux-fsl-qoriq-3ab2fb5a8cb003897016b6eb38ddad916226c1b2.tar.xz |
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 0b0dcf1..fbd23a7 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, struct address_space *mapping, get_extent_t *get_extent, struct writeback_control *wbc); +int extent_readpages(struct extent_map_tree *tree, + struct address_space *mapping, + struct list_head *pages, unsigned nr_pages, + get_extent_t get_extent); int extent_prepare_write(struct extent_map_tree *tree, struct inode *inode, struct page *page, unsigned from, unsigned to, get_extent_t *get_extent); |