diff options
author | Josef Bacik <jbacik@fb.com> | 2014-10-10 16:57:08 -0400 |
---|---|---|
committer | David Sterba <dsterba@suse.cz> | 2014-10-14 10:39:39 +0200 |
commit | cdb9e22e292275237cbd93b9c4326382daff70f1 (patch) | |
tree | a82ca9ba4b2bb0d014969e1b2dd476adcc1edefb /cmds-check.c | |
parent | d90d8d2323cdee2bdb3b130236c801ceeb8ea875 (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 <jbacik@fb.com>
Signed-off-by: David Sterba <dsterba@suse.cz>
Diffstat (limited to 'cmds-check.c')
-rw-r--r-- | cmds-check.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cmds-check.c b/cmds-check.c index d8664115..fede71ed 100644 --- a/cmds-check.c +++ b/cmds-check.c @@ -39,6 +39,7 @@ #include "free-space-cache.h" #include "btrfsck.h" #include "qgroup-verify.h" +#include "rbtree-utils.h" static u64 bytes_used = 0; static u64 total_csum_bytes = 0; |