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

Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
David Sterba 2019-06-20 01:46:21 +02:00
parent d0970a05cd
commit f93b471143
32 changed files with 31 additions and 31 deletions

View File

@ -133,7 +133,7 @@ objects = ctree.o disk-io.o kernel-lib/radix-tree.o extent-tree.o print-tree.o \
qgroup.o free-space-cache.o kernel-lib/list_sort.o props.o \
kernel-shared/ulist.o qgroup-verify.o backref.o string-table.o \
common/task-utils.o \
inode.o file.o find-root.o free-space-tree.o help.o send-dump.o \
inode.o file.o find-root.o free-space-tree.o common/help.o send-dump.o \
fsfeatures.o kernel-lib/tables.o kernel-lib/raid56.o transaction.o \
delayed-ref.o
cmds_objects = cmds/subvolume.o cmds/filesystem.o cmds/device.o cmds/scrub.o \

View File

@ -31,7 +31,7 @@
#include "transaction.h"
#include "list.h"
#include "utils.h"
#include "help.h"
#include "common/help.h"
#define FIELD_BUF_LEN 80

View File

@ -35,7 +35,7 @@
#include "crc32c.h"
#include "extent-cache.h"
#include "find-root.h"
#include "help.h"
#include "common/help.h"
#include "commands.h"
/*

View File

@ -29,7 +29,7 @@
#include "transaction.h"
#include "list.h"
#include "utils.h"
#include "help.h"
#include "common/help.h"
#define BUFFER_SIZE SZ_64K

View File

@ -29,7 +29,7 @@
#include "transaction.h"
#include "list.h"
#include "utils.h"
#include "help.h"
#include "common/help.h"
static void print_usage(void)
{

View File

@ -23,7 +23,7 @@
#include "crc32c.h"
#include "commands.h"
#include "utils.h"
#include "help.h"
#include "common/help.h"
static const char * const btrfs_cmd_group_usage[] = {
"btrfs [--help] [--version] <group> [<group>...] <command> [<args>]",

View File

@ -32,7 +32,7 @@
#include "transaction.h"
#include "utils.h"
#include "volumes.h"
#include "help.h"
#include "common/help.h"
static char *device;
static int force = 0;

View File

@ -43,7 +43,7 @@
#include "backref.h"
#include "kernel-shared/ulist.h"
#include "hash.h"
#include "help.h"
#include "common/help.h"
#include "check/mode-common.h"
#include "check/mode-original.h"
#include "check/mode-lowmem.h"

View File

@ -32,7 +32,7 @@
#include "commands.h"
#include "utils.h"
#include "help.h"
#include "common/help.h"
static const char * const balance_cmd_group_usage[] = {
"btrfs balance <command> [options] <path>",

View File

@ -32,7 +32,7 @@
#include "cmds/filesystem-usage.h"
#include "commands.h"
#include "help.h"
#include "common/help.h"
#include "mkfs/common.h"
static const char * const device_cmd_group_usage[] = {

View File

@ -40,7 +40,7 @@
#include "rbtree.h"
#include "interval_tree_generic.h"
#include "help.h"
#include "common/help.h"
#include "fsfeatures.h"
static int summarize = 0;

View File

@ -33,7 +33,7 @@
#include "disk-io.h"
#include "version.h"
#include "help.h"
#include "common/help.h"
/*
* Add the chunk info to the chunk_info list

View File

@ -39,7 +39,7 @@
#include "cmds/filesystem-usage.h"
#include "list_sort.h"
#include "disk-io.h"
#include "help.h"
#include "common/help.h"
#include "fsfeatures.h"
/*

View File

@ -33,7 +33,7 @@
#include "utils.h"
#include "commands.h"
#include "crc32c.h"
#include "help.h"
#include "common/help.h"
static int check_csum_sblock(void *sb, int csum_size)
{

View File

@ -31,7 +31,7 @@
#include "volumes.h"
#include "commands.h"
#include "utils.h"
#include "help.h"
#include "common/help.h"
static void print_extents(struct extent_buffer *eb)
{

View File

@ -35,7 +35,7 @@
#include "volumes.h"
#include "utils.h"
#include "commands.h"
#include "help.h"
#include "common/help.h"
static int verbose = 0;
static int no_pretty = 0;

View File

@ -31,7 +31,7 @@
#include "disk-io.h"
#include "commands.h"
#include "btrfs-list.h"
#include "help.h"
#include "common/help.h"
static const char * const inspect_cmd_group_usage[] = {
"btrfs inspect-internal <command> <args>",

View File

@ -26,7 +26,7 @@
#include "props.h"
#include "ctree.h"
#include "utils.h"
#include "help.h"
#include "common/help.h"
static const char * const property_cmd_group_usage[] = {
"btrfs property get/set/list [-t <type>] <object> [<name>] [value]",

View File

@ -28,7 +28,7 @@
#include "commands.h"
#include "qgroup.h"
#include "utils.h"
#include "help.h"
#include "common/help.h"
static const char * const qgroup_cmd_group_usage[] = {
"btrfs qgroup <command> [options] <path>",

View File

@ -24,7 +24,7 @@
#include "commands.h"
#include "utils.h"
#include "help.h"
#include "common/help.h"
static const char * const quota_cmd_group_usage[] = {
"btrfs quota <command> [options] <path>",

View File

@ -50,7 +50,7 @@
#include "send-stream.h"
#include "send-utils.h"
#include "send-dump.h"
#include "help.h"
#include "common/help.h"
/*
* Default is 1 for historical reasons, changing may break scripts that expect

View File

@ -37,7 +37,7 @@
#include "disk-io.h"
#include "commands.h"
#include "help.h"
#include "common/help.h"
#include "mkfs/common.h"
static int print_replace_status(int fd, const char *path, int once);

View File

@ -25,7 +25,7 @@
#include "disk-io.h"
#include "commands.h"
#include "utils.h"
#include "help.h"
#include "common/help.h"
#include "cmds/rescue.h"
static const char * const rescue_cmd_group_usage[] = {

View File

@ -45,7 +45,7 @@
#include "volumes.h"
#include "utils.h"
#include "commands.h"
#include "help.h"
#include "common/help.h"
static char fs_name[PATH_MAX];
static char path_name[PATH_MAX];

View File

@ -44,7 +44,7 @@
#include "disk-io.h"
#include "commands.h"
#include "help.h"
#include "common/help.h"
static const char * const scrub_cmd_group_usage[] = {
"btrfs scrub <command> [options] <path>|<device>",

View File

@ -43,7 +43,7 @@
#include "send.h"
#include "send-utils.h"
#include "help.h"
#include "common/help.h"
#define SEND_BUFFER_SIZE SZ_64K

View File

@ -40,7 +40,7 @@
#include "utils.h"
#include "btrfs-list.h"
#include "utils.h"
#include "help.h"
#include "common/help.h"
static int wait_for_subvolume_cleaning(int fd, size_t count, uint64_t *ids,
int sleep_interval)

View File

@ -22,7 +22,7 @@
#include "commands.h"
#include "utils.h"
#include "help.h"
#include "common/help.h"
#define USAGE_SHORT 1U
#define USAGE_LONG 2U

View File

@ -97,7 +97,7 @@
#include "transaction.h"
#include "utils.h"
#include "common/task-utils.h"
#include "help.h"
#include "common/help.h"
#include "mkfs/common.h"
#include "convert/common.h"
#include "convert/source-fs.h"

View File

@ -35,7 +35,7 @@
#include "utils.h"
#include "volumes.h"
#include "extent_io.h"
#include "help.h"
#include "common/help.h"
#include "image/metadump.h"
#include "image/sanitize.h"

View File

@ -38,7 +38,7 @@
#include "transaction.h"
#include "utils.h"
#include "list_sort.h"
#include "help.h"
#include "common/help.h"
#include "rbtree-utils.h"
#include "mkfs/common.h"
#include "mkfs/rootdir.h"