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

Move the file to common as it's used by several parts, while still
keeping the name 'repair' although the only thing it does is adding a
corrupted extent.

Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
David Sterba 2021-04-30 22:04:03 +02:00
parent cfbcfaa4e4
commit c19ac510a7
8 changed files with 7 additions and 7 deletions

View File

@ -168,7 +168,7 @@ libbtrfs_objects = common/send-stream.o common/send-utils.o kernel-lib/rbtree.o
kernel-shared/print-tree.o \
kernel-shared/free-space-cache.o kernel-shared/root-tree.o \
kernel-shared/volumes.o kernel-shared/transaction.o \
kernel-shared/free-space-tree.o repair.o kernel-shared/inode-item.o \
kernel-shared/free-space-tree.o common/repair.o kernel-shared/inode-item.o \
kernel-shared/file-item.o kernel-shared/zoned.o \
kernel-lib/raid56.o kernel-lib/tables.o \
common/device-scan.o common/path-utils.o \

View File

@ -28,7 +28,7 @@
#include <time.h>
#include "kernel-shared/ctree.h"
#include "kernel-shared/volumes.h"
#include "repair.h"
#include "common/repair.h"
#include "kernel-shared/disk-io.h"
#include "kernel-shared/print-tree.h"
#include "common/task-utils.h"

View File

@ -21,7 +21,7 @@
#include "kernel-shared/transaction.h"
#include "common/utils.h"
#include "kernel-shared/disk-io.h"
#include "repair.h"
#include "common/repair.h"
#include "check/mode-common.h"
/*

View File

@ -16,7 +16,7 @@
#include <time.h>
#include "kernel-shared/ctree.h"
#include "repair.h"
#include "common/repair.h"
#include "kernel-shared/transaction.h"
#include "common/messages.h"
#include "kernel-shared/disk-io.h"

View File

@ -30,7 +30,7 @@
#include "kernel-shared/ulist.h"
#include "common/rbtree-utils.h"
#include "kernel-shared/transaction.h"
#include "repair.h"
#include "common/repair.h"
#include "qgroup-verify.h"

View File

@ -19,7 +19,7 @@
#include "kernel-shared/ctree.h"
#include "common/extent-cache.h"
#include "common/utils.h"
#include "repair.h"
#include "common/repair.h"
int repair = 0;

View File

@ -19,7 +19,7 @@
#include "kernel-shared/disk-io.h"
#include "kernel-shared/transaction.h"
#include "kernel-shared/print-tree.h"
#include "repair.h"
#include "common/repair.h"
#include "common/internal.h"
#include "common/messages.h"
#include "common/utils.h"