diff --git a/Makefile b/Makefile index e8445a00..bdbfa820 100644 --- a/Makefile +++ b/Makefile @@ -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 \ crypto/crc32c.o common/messages.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-tree.o repair.o inode-item.o file-item.o \ kernel-lib/raid56.o kernel-lib/tables.o \ diff --git a/delayed-ref.c b/kernel-shared/delayed-ref.c similarity index 99% rename from delayed-ref.c rename to kernel-shared/delayed-ref.c index 69f8be34..e62592ee 100644 --- a/delayed-ref.c +++ b/kernel-shared/delayed-ref.c @@ -5,7 +5,7 @@ #include "ctree.h" #include "btrfs-list.h" -#include "delayed-ref.h" +#include "kernel-shared/delayed-ref.h" #include "transaction.h" /* diff --git a/delayed-ref.h b/kernel-shared/delayed-ref.h similarity index 100% rename from delayed-ref.h rename to kernel-shared/delayed-ref.h diff --git a/transaction.c b/transaction.c index b6b81b21..0917abca 100644 --- a/transaction.c +++ b/transaction.c @@ -17,8 +17,7 @@ #include "kerncompat.h" #include "disk-io.h" #include "transaction.h" -#include "delayed-ref.h" - +#include "kernel-shared/delayed-ref.h" #include "common/messages.h" struct btrfs_trans_handle* btrfs_start_transaction(struct btrfs_root *root, diff --git a/transaction.h b/transaction.h index 8fa65508..c9ea545a 100644 --- a/transaction.h +++ b/transaction.h @@ -21,8 +21,8 @@ #include "kerncompat.h" #include "ctree.h" -#include "delayed-ref.h" #include "kernel-lib/list.h" +#include "kernel-shared/delayed-ref.h" struct btrfs_trans_handle { struct btrfs_fs_info *fs_info;