btrfs-progs: move rbtree-utils.[ch] to common/

Signed-off-by: David Sterba <dsterba@suse.com>
master
David Sterba 2019-06-20 01:46:21 +02:00
parent 94fced6353
commit c8bea2b84b
10 changed files with 9 additions and 9 deletions

View File

@ -145,7 +145,7 @@ cmds_objects = cmds/subvolume.o cmds/filesystem.o cmds/device.o cmds/scrub.o \
mkfs/common.o check/mode-common.o check/mode-lowmem.o
libbtrfs_objects = send-stream.o send-utils.o kernel-lib/rbtree.o btrfs-list.o \
kernel-lib/crc32c.o common/messages.o \
uuid-tree.o utils-lib.o rbtree-utils.o
uuid-tree.o utils-lib.o common/rbtree-utils.o
libbtrfs_headers = send-stream.h send-utils.h send.h kernel-lib/rbtree.h btrfs-list.h \
kernel-lib/crc32c.h kernel-lib/list.h kerncompat.h \
kernel-lib/radix-tree.h kernel-lib/sizes.h kernel-lib/raid56.h \

View File

@ -32,7 +32,7 @@
#include "ioctl.h"
#include <uuid/uuid.h>
#include "btrfs-list.h"
#include "rbtree-utils.h"
#include "common/rbtree-utils.h"
#define BTRFS_LIST_NFILTERS_INCREASE (2 * BTRFS_LIST_FILTER_MAX)
#define BTRFS_LIST_NCOMPS_INCREASE (2 * BTRFS_LIST_COMP_MAX)

View File

@ -39,7 +39,7 @@
#include "free-space-tree.h"
#include "btrfsck.h"
#include "qgroup-verify.h"
#include "rbtree-utils.h"
#include "common/rbtree-utils.h"
#include "backref.h"
#include "kernel-shared/ulist.h"
#include "hash.h"

View File

@ -21,7 +21,7 @@
#ifndef __BTRFS_CHECK_MODE_ORIGINAL_H__
#define __BTRFS_CHECK_MODE_ORIGINAL_H__
#include "rbtree-utils.h"
#include "common/rbtree-utils.h"
struct extent_backref {
struct rb_node node;

View File

@ -16,7 +16,7 @@
* Boston, MA 021110-1307, USA.
*/
#include "rbtree-utils.h"
#include "common/rbtree-utils.h"
int rb_insert(struct rb_root *root, struct rb_node *node,
rb_compare_nodes comp)

View File

@ -32,7 +32,7 @@
#include "kernel-lib/crc32c.h"
#include "common/utils.h"
#include "print-tree.h"
#include "rbtree-utils.h"
#include "common/rbtree-utils.h"
/* specified errno for check_tree_block */
#define BTRFS_BAD_BYTENR (-1)

View File

@ -19,7 +19,7 @@
#include <stdlib.h>
#include "kerncompat.h"
#include "extent-cache.h"
#include "rbtree-utils.h"
#include "common/rbtree-utils.h"
struct cache_extent_search_range {
u64 objectid;

View File

@ -39,7 +39,7 @@
#include "common/utils.h"
#include "kernel-lib/list_sort.h"
#include "common/help.h"
#include "rbtree-utils.h"
#include "common/rbtree-utils.h"
#include "mkfs/common.h"
#include "mkfs/rootdir.h"
#include "kernel-lib/crc32c.h"

View File

@ -28,7 +28,7 @@
#include "print-tree.h"
#include "common/utils.h"
#include "kernel-shared/ulist.h"
#include "rbtree-utils.h"
#include "common/rbtree-utils.h"
#include "transaction.h"
#include "repair.h"