aboutsummaryrefslogtreecommitdiffstats
path: root/extent-cache.c
diff options
context:
space:
mode:
authorJosef Bacik <jbacik@fb.com>2014-10-10 16:57:08 -0400
committerDavid Sterba <dsterba@suse.cz>2014-10-14 10:39:39 +0200
commitcdb9e22e292275237cbd93b9c4326382daff70f1 (patch)
treea82ca9ba4b2bb0d014969e1b2dd476adcc1edefb /extent-cache.c
parentd90d8d2323cdee2bdb3b130236c801ceeb8ea875 (diff)
downloadbtrfs-progs-cdb9e22e292275237cbd93b9c4326382daff70f1.tar.gz
btrfs-progs-cdb9e22e292275237cbd93b9c4326382daff70f1.tar.xz
btrfs-progs-cdb9e22e292275237cbd93b9c4326382daff70f1.zip
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 <jbacik@fb.com> Signed-off-by: David Sterba <dsterba@suse.cz>
Diffstat (limited to 'extent-cache.c')
-rw-r--r--extent-cache.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/extent-cache.c b/extent-cache.c
index 84de87b..7656ab2 100644
--- a/extent-cache.c
+++ b/extent-cache.c
@@ -19,6 +19,7 @@
#include <stdlib.h>
#include "kerncompat.h"
#include "extent-cache.h"
+#include "rbtree-utils.h"
struct cache_extent_search_range {
u64 objectid;