Btrfs: always store the mirror we read the eb from
[linux-2.6-block.git] / fs / btrfs / inode.c
index 98ee5a51aa29b4497b1c8e36ad82bb1bf24fcc8e..d953f8820464e40f95b2c992ab25f648b890289a 100644 (file)
@@ -1947,7 +1947,7 @@ static int btrfs_writepage_end_io_hook(struct page *page, u64 start, u64 end,
  * extent_io.c will try to find good copies for us.
  */
 static int btrfs_readpage_end_io_hook(struct page *page, u64 start, u64 end,
-                              struct extent_state *state)
+                              struct extent_state *state, int mirror)
 {
        size_t offset = start - ((u64)page->index << PAGE_CACHE_SHIFT);
        struct inode *inode = page->mapping->host;