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

Signed-off-by: David Sterba <dsterba@suse.com>
master
David Sterba 2019-06-20 00:44:36 +02:00
parent f63f29e9e9
commit d1efe50d0a
11 changed files with 10 additions and 10 deletions

View File

@ -144,7 +144,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/crc32c.o messages.o \
kernel-lib/crc32c.o common/messages.o \
uuid-tree.o utils-lib.o 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 \

View File

@ -17,7 +17,7 @@
#include <time.h>
#include "ctree.h"
#include "common/internal.h"
#include "messages.h"
#include "common/messages.h"
#include "transaction.h"
#include "utils.h"
#include "disk-io.h"

View File

@ -18,7 +18,7 @@
#include "ctree.h"
#include "repair.h"
#include "transaction.h"
#include "messages.h"
#include "common/messages.h"
#include "disk-io.h"
#include "backref.h"
#include "hash.h"

View File

@ -16,7 +16,7 @@
#include <stdio.h>
#include <stdarg.h>
#include "messages.h"
#include "common/messages.h"
__attribute__ ((format (printf, 1, 2)))
void __btrfs_warning(const char *fmt, ...)

View File

@ -22,7 +22,7 @@
#include "repair.h"
#include "common/internal.h"
#include "sizes.h"
#include "messages.h"
#include "common/messages.h"
#include "volumes.h"
static int split_node(struct btrfs_trans_handle *trans, struct btrfs_root

View File

@ -16,7 +16,7 @@
#include "kerncompat.h"
#include "common/internal.h"
#include "messages.h"
#include "common/messages.h"
#include "utils.h"
#include "kernel-lib/crc32c.h"
#include "image/sanitize.h"

View File

@ -28,7 +28,7 @@
#include "transaction.h"
#include "disk-io.h"
#include "time.h"
#include "messages.h"
#include "common/messages.h"
/*
* Find a free inode index for later btrfs_add_link().

View File

@ -29,7 +29,7 @@
#include "volumes.h"
#include "common/internal.h"
#include "disk-io.h"
#include "messages.h"
#include "common/messages.h"
#include "transaction.h"
#include "utils.h"
#include "mkfs/rootdir.h"

View File

@ -19,7 +19,7 @@
#include "transaction.h"
#include "delayed-ref.h"
#include "messages.h"
#include "common/messages.h"
struct btrfs_trans_handle* btrfs_start_transaction(struct btrfs_root *root,
int num_blocks)

View File

@ -27,7 +27,7 @@
#include "common/internal.h"
#include "btrfs-list.h"
#include "sizes.h"
#include "messages.h"
#include "common/messages.h"
#include "ioctl.h"
#include "fsfeatures.h"