btrfs: pass the owner_root and level to alloc_extent_buffer
[sfrench/cifs-2.6.git] / fs / btrfs / disk-io.h
index 41588babf2eddd18fdf104148398592689125f25..e75ea6092942311ece25ceb39a93a0a1c6d9f1f4 100644 (file)
@@ -47,7 +47,8 @@ struct extent_buffer *read_tree_block(struct btrfs_fs_info *fs_info, u64 bytenr,
                                      int level, struct btrfs_key *first_key);
 struct extent_buffer *btrfs_find_create_tree_block(
                                                struct btrfs_fs_info *fs_info,
-                                               u64 bytenr);
+                                               u64 bytenr, u64 owner_root,
+                                               int level);
 void btrfs_clean_tree_block(struct extent_buffer *buf);
 int __cold open_ctree(struct super_block *sb,
               struct btrfs_fs_devices *fs_devices,