btrfs: reada: Use fs_info instead of root in __readahead_hook's argument
[linux-2.6-block.git] / fs / btrfs / ctree.h
index bfe4a337fb4d13a058446265b7baf4a1437aa602..e557e05d2318928360234cceb7f769cbed68abf9 100644 (file)
@@ -4525,8 +4525,8 @@ struct reada_control *btrfs_reada_add(struct btrfs_root *root,
                              struct btrfs_key *start, struct btrfs_key *end);
 int btrfs_reada_wait(void *handle);
 void btrfs_reada_detach(void *handle);
-int btree_readahead_hook(struct btrfs_root *root, struct extent_buffer *eb,
-                        u64 start, int err);
+int btree_readahead_hook(struct btrfs_fs_info *fs_info,
+                        struct extent_buffer *eb, u64 start, int err);
 
 static inline int is_fstree(u64 rootid)
 {