path: root/disk-io.c
diff options
authorJosef Bacik <>2014-10-10 16:57:08 -0400
committerDavid Sterba <>2014-10-14 10:39:39 +0200
commitcdb9e22e292275237cbd93b9c4326382daff70f1 (patch)
treea82ca9ba4b2bb0d014969e1b2dd476adcc1edefb /disk-io.c
parentd90d8d2323cdee2bdb3b130236c801ceeb8ea875 (diff)
Btrfs-progs: break out rbtree util functions
These were added to deal with duplicated functionality within btrfs-progs, but we specifically copied rbtree.c from the kernel, so move these functions out into their own file. This will make it easier to keep rbtree.c in sync. Thanks, Signed-off-by: Josef Bacik <> Signed-off-by: David Sterba <>
Diffstat (limited to 'disk-io.c')
1 files changed, 1 insertions, 0 deletions
diff --git a/disk-io.c b/disk-io.c
index 5a2c49dc..0c4cb4a1 100644
--- a/disk-io.c
+++ b/disk-io.c
@@ -34,6 +34,7 @@
#include "crc32c.h"
#include "utils.h"
#include "print-tree.h"
+#include "rbtree-utils.h"
static int check_tree_block(struct btrfs_root *root, struct extent_buffer *buf)