btrfs-progs: move delayed-ref.[ch] to kernel-shared/

The files are very close to kernel versions, for that keep them in the
shared directory.

Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
David Sterba 2020-03-04 20:55:39 +01:00
parent 49fe198218
commit 019489a143
5 changed files with 4 additions and 5 deletions

View File

@ -159,7 +159,7 @@ 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 extent-cache.o extent_io.o \
crypto/crc32c.o common/messages.o \ crypto/crc32c.o common/messages.o \
uuid-tree.o utils-lib.o common/rbtree-utils.o \ uuid-tree.o utils-lib.o common/rbtree-utils.o \
ctree.o disk-io.o extent-tree.o delayed-ref.o print-tree.o \ ctree.o disk-io.o extent-tree.o kernel-shared/delayed-ref.o print-tree.o \
free-space-cache.o root-tree.o volumes.o transaction.o \ free-space-cache.o root-tree.o volumes.o transaction.o \
free-space-tree.o repair.o inode-item.o file-item.o \ free-space-tree.o repair.o inode-item.o file-item.o \
kernel-lib/raid56.o kernel-lib/tables.o \ kernel-lib/raid56.o kernel-lib/tables.o \

View File

@ -5,7 +5,7 @@
#include "ctree.h" #include "ctree.h"
#include "btrfs-list.h" #include "btrfs-list.h"
#include "delayed-ref.h" #include "kernel-shared/delayed-ref.h"
#include "transaction.h" #include "transaction.h"
/* /*

View File

@ -17,8 +17,7 @@
#include "kerncompat.h" #include "kerncompat.h"
#include "disk-io.h" #include "disk-io.h"
#include "transaction.h" #include "transaction.h"
#include "delayed-ref.h" #include "kernel-shared/delayed-ref.h"
#include "common/messages.h" #include "common/messages.h"
struct btrfs_trans_handle* btrfs_start_transaction(struct btrfs_root *root, struct btrfs_trans_handle* btrfs_start_transaction(struct btrfs_root *root,

View File

@ -21,8 +21,8 @@
#include "kerncompat.h" #include "kerncompat.h"
#include "ctree.h" #include "ctree.h"
#include "delayed-ref.h"
#include "kernel-lib/list.h" #include "kernel-lib/list.h"
#include "kernel-shared/delayed-ref.h"
struct btrfs_trans_handle { struct btrfs_trans_handle {
struct btrfs_fs_info *fs_info; struct btrfs_fs_info *fs_info;