mirror of
https://github.com/kdave/btrfs-progs
synced 2025-02-01 10:21:40 +00:00
btrfs-progs: move extent-cache.c to common/
Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
parent
9f456949f3
commit
a4122790ac
@ -19,7 +19,7 @@ btrfs_shared_libraries := libext2_uuid \
|
||||
|
||||
objects := ctree.c disk-io.c kernel-lib/radix-tree.c extent-tree.c print-tree.c \
|
||||
root-tree.c dir-item.c file-item.c inode-item.c inode-map.c \
|
||||
extent-cache.c extent_io.c volumes.c utils.c repair.c \
|
||||
common/extent-cache.c extent_io.c volumes.c utils.c repair.c \
|
||||
qgroup.c free-space-cache.c kernel-lib/list_sort.c props.c \
|
||||
kernel-shared/ulist.c qgroup-verify.c backref.c common/string-table.c task-utils.c \
|
||||
inode.c file.c find-root.c free-space-tree.c help.c send-dump.c \
|
||||
@ -37,7 +37,7 @@ libbtrfs_objects := send-stream.c send-utils.c kernel-lib/rbtree.c btrfs-list.c
|
||||
libbtrfs_headers := send-stream.h send-utils.h send.h kernel-lib/rbtree.h btrfs-list.h \
|
||||
crypto/crc32c.h kernel-lib/list.h kerncompat.h \
|
||||
kernel-lib/radix-tree.h kernel-lib/sizes.h kernel-lib/raid56.h \
|
||||
extent-cache.h extent_io.h ioctl.h ctree.h btrfsck.h version.h
|
||||
common/extent-cache.h extent_io.h ioctl.h ctree.h btrfsck.h version.h
|
||||
blkid_objects := partition/ superblocks/ topology/
|
||||
|
||||
|
||||
|
4
Makefile
4
Makefile
@ -160,7 +160,7 @@ cmds_objects = cmds/subvolume.o cmds/filesystem.o cmds/device.o cmds/scrub.o \
|
||||
cmds/inspect-dump-super.o cmds/inspect-tree-stats.o cmds/filesystem-du.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/radix-tree.o extent-cache.o extent_io.o \
|
||||
kernel-lib/radix-tree.o common/extent-cache.o extent_io.o \
|
||||
crypto/crc32c.o common/messages.o \
|
||||
kernel-shared/uuid-tree.o utils-lib.o common/rbtree-utils.o \
|
||||
ctree.o disk-io.o extent-tree.o kernel-shared/delayed-ref.o print-tree.o \
|
||||
@ -174,7 +174,7 @@ libbtrfs_objects = send-stream.o send-utils.o kernel-lib/rbtree.o btrfs-list.o \
|
||||
libbtrfs_headers = send-stream.h send-utils.h send.h kernel-lib/rbtree.h btrfs-list.h \
|
||||
crypto/crc32c.h kernel-lib/list.h kerncompat.h \
|
||||
kernel-lib/radix-tree.h kernel-lib/sizes.h kernel-lib/raid56.h \
|
||||
extent-cache.h extent_io.h ioctl.h ctree.h btrfsck.h version.h
|
||||
common/extent-cache.h extent_io.h ioctl.h ctree.h btrfsck.h version.h
|
||||
libbtrfsutil_major := $(shell sed -rn 's/^\#define BTRFS_UTIL_VERSION_MAJOR ([0-9])+$$/\1/p' libbtrfsutil/btrfsutil.h)
|
||||
libbtrfsutil_minor := $(shell sed -rn 's/^\#define BTRFS_UTIL_VERSION_MINOR ([0-9])+$$/\1/p' libbtrfsutil/btrfsutil.h)
|
||||
libbtrfsutil_patch := $(shell sed -rn 's/^\#define BTRFS_UTIL_VERSION_PATCH ([0-9])+$$/\1/p' libbtrfsutil/btrfsutil.h)
|
||||
|
@ -33,7 +33,7 @@
|
||||
#include "volumes.h"
|
||||
#include "common/utils.h"
|
||||
#include "crypto/crc32c.h"
|
||||
#include "extent-cache.h"
|
||||
#include "common/extent-cache.h"
|
||||
#include "find-root.h"
|
||||
#include "common/help.h"
|
||||
#include "cmds/commands.h"
|
||||
|
@ -23,7 +23,7 @@
|
||||
#if BTRFS_FLAT_INCLUDES
|
||||
#include "kerncompat.h"
|
||||
#include "ctree.h"
|
||||
#include "extent-cache.h"
|
||||
#include "common/extent-cache.h"
|
||||
#include "kernel-lib/list.h"
|
||||
#else
|
||||
#include <btrfs/kerncompat.h>
|
||||
|
@ -22,7 +22,7 @@
|
||||
|
||||
#include "kerncompat.h"
|
||||
#include "ctree.h"
|
||||
#include "extent-cache.h"
|
||||
#include "common/extent-cache.h"
|
||||
#include "kernel-lib/list.h"
|
||||
|
||||
struct block_group_record {
|
||||
|
@ -32,7 +32,7 @@
|
||||
#include "kernel-lib/list.h"
|
||||
#include "kernel-lib/radix-tree.h"
|
||||
#include "ctree.h"
|
||||
#include "extent-cache.h"
|
||||
#include "common/extent-cache.h"
|
||||
#include "disk-io.h"
|
||||
#include "volumes.h"
|
||||
#include "transaction.h"
|
||||
|
@ -18,7 +18,7 @@
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include "kerncompat.h"
|
||||
#include "extent-cache.h"
|
||||
#include "common/extent-cache.h"
|
||||
#include "common/rbtree-utils.h"
|
||||
|
||||
struct cache_extent_search_range {
|
@ -24,7 +24,7 @@
|
||||
|
||||
#include "kerncompat.h"
|
||||
#include "common/defs.h"
|
||||
#include "extent-cache.h"
|
||||
#include "common/extent-cache.h"
|
||||
|
||||
struct btrfs_mkfs_config;
|
||||
|
||||
|
2
ctree.h
2
ctree.h
@ -25,7 +25,7 @@
|
||||
#include "kernel-lib/list.h"
|
||||
#include "kerncompat.h"
|
||||
#include "kernel-lib/radix-tree.h"
|
||||
#include "extent-cache.h"
|
||||
#include "common/extent-cache.h"
|
||||
#include "extent_io.h"
|
||||
#include "ioctl.h"
|
||||
#include "kernel-lib/sizes.h"
|
||||
|
@ -21,7 +21,7 @@
|
||||
|
||||
#if BTRFS_FLAT_INCLUDES
|
||||
#include "kerncompat.h"
|
||||
#include "extent-cache.h"
|
||||
#include "common/extent-cache.h"
|
||||
#include "kernel-lib/list.h"
|
||||
#else
|
||||
#include <btrfs/kerncompat.h>
|
||||
|
@ -25,7 +25,7 @@
|
||||
#include "find-root.h"
|
||||
#include "volumes.h"
|
||||
#include "disk-io.h"
|
||||
#include "extent-cache.h"
|
||||
#include "common/extent-cache.h"
|
||||
|
||||
/* Return value is the same as btrfs_find_root_search(). */
|
||||
static int add_eb_to_result(struct extent_buffer *eb,
|
||||
|
@ -23,7 +23,7 @@
|
||||
|
||||
#include "ctree.h"
|
||||
#include "kernel-lib/list.h"
|
||||
#include "extent-cache.h"
|
||||
#include "common/extent-cache.h"
|
||||
|
||||
/*
|
||||
* Find-root will restore the search result in a 2-level trees.
|
||||
|
@ -35,7 +35,7 @@
|
||||
#include "common/utils.h"
|
||||
#include "volumes.h"
|
||||
#include "extent_io.h"
|
||||
#include "extent-cache.h"
|
||||
#include "common/extent-cache.h"
|
||||
#include "common/help.h"
|
||||
#include "common/device-utils.h"
|
||||
#include "image/metadump.h"
|
||||
|
2
repair.c
2
repair.c
@ -17,7 +17,7 @@
|
||||
*/
|
||||
|
||||
#include "ctree.h"
|
||||
#include "extent-cache.h"
|
||||
#include "common/extent-cache.h"
|
||||
#include "common/utils.h"
|
||||
#include "repair.h"
|
||||
|
||||
|
@ -29,7 +29,7 @@
|
||||
#include "ioctl.h"
|
||||
#include "btrfs-list.h"
|
||||
#include "check/btrfsck.h"
|
||||
#include "extent-cache.h"
|
||||
#include "common/extent-cache.h"
|
||||
#include "send.h"
|
||||
#include "send-stream.h"
|
||||
#include "send-utils.h"
|
||||
|
Loading…
Reference in New Issue
Block a user