diff options
Diffstat (limited to 'fs/btrfs/extent-tree.c')
-rw-r--r-- | fs/btrfs/extent-tree.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/fs/btrfs/extent-tree.c b/fs/btrfs/extent-tree.c index 9bc4ad38876d..53a7550b5c1e 100644 --- a/fs/btrfs/extent-tree.c +++ b/fs/btrfs/extent-tree.c | |||
@@ -1,7 +1,5 @@ | |||
1 | #include <stdio.h> | 1 | #include <linux/module.h> |
2 | #include <stdlib.h> | 2 | #include <linux/radix-tree.h> |
3 | #include "kerncompat.h" | ||
4 | #include "radix-tree.h" | ||
5 | #include "ctree.h" | 3 | #include "ctree.h" |
6 | #include "disk-io.h" | 4 | #include "disk-io.h" |
7 | #include "print-tree.h" | 5 | #include "print-tree.h" |
@@ -183,9 +181,9 @@ static int __free_extent(struct btrfs_trans_handle *trans, struct btrfs_root | |||
183 | btrfs_init_path(&path); | 181 | btrfs_init_path(&path); |
184 | ret = btrfs_search_slot(trans, extent_root, &key, &path, -1, 1); | 182 | ret = btrfs_search_slot(trans, extent_root, &key, &path, -1, 1); |
185 | if (ret) { | 183 | if (ret) { |
186 | printf("failed to find %Lu\n", key.objectid); | 184 | printk("failed to find %Lu\n", key.objectid); |
187 | btrfs_print_tree(extent_root, extent_root->node); | 185 | btrfs_print_tree(extent_root, extent_root->node); |
188 | printf("failed to find %Lu\n", key.objectid); | 186 | printk("failed to find %Lu\n", key.objectid); |
189 | BUG(); | 187 | BUG(); |
190 | } | 188 | } |
191 | ei = btrfs_item_ptr(&path.nodes[0]->leaf, path.slots[0], | 189 | ei = btrfs_item_ptr(&path.nodes[0]->leaf, path.slots[0], |