btrfs-progs: move fsfeatures.[ch] to common/
Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
parent
aac564aca6
commit
07ca08ffba
|
@ -23,7 +23,7 @@ objects := ctree.c disk-io.c kernel-lib/radix-tree.c extent-tree.c print-tree.c
|
||||||
qgroup.c free-space-cache.c kernel-lib/list_sort.c props.c \
|
qgroup.c free-space-cache.c kernel-lib/list_sort.c props.c \
|
||||||
kernel-shared/ulist.c qgroup-verify.c backref.c string-table.c task-utils.c \
|
kernel-shared/ulist.c qgroup-verify.c backref.c string-table.c task-utils.c \
|
||||||
inode.c file.c find-root.c free-space-tree.c help.c send-dump.c \
|
inode.c file.c find-root.c free-space-tree.c help.c send-dump.c \
|
||||||
fsfeatures.c kernel-lib/tables.c kernel-lib/raid56.c transaction.c
|
common/fsfeatures.c kernel-lib/tables.c kernel-lib/raid56.c transaction.c
|
||||||
cmds_objects := cmds-subvolume.c cmds-filesystem.c cmds-device.c cmds-scrub.c \
|
cmds_objects := cmds-subvolume.c cmds-filesystem.c cmds-device.c cmds-scrub.c \
|
||||||
cmds-inspect.c cmds-balance.c cmds-send.c cmds-receive.c \
|
cmds-inspect.c cmds-balance.c cmds-send.c cmds-receive.c \
|
||||||
cmds-quota.c cmds-qgroup.c cmds-replace.c cmds-check.c \
|
cmds-quota.c cmds-qgroup.c cmds-replace.c cmds-check.c \
|
||||||
|
|
2
Makefile
2
Makefile
|
@ -134,7 +134,7 @@ objects = ctree.o disk-io.o kernel-lib/radix-tree.o extent-tree.o print-tree.o \
|
||||||
kernel-shared/ulist.o qgroup-verify.o backref.o string-table.o \
|
kernel-shared/ulist.o qgroup-verify.o backref.o string-table.o \
|
||||||
common/task-utils.o \
|
common/task-utils.o \
|
||||||
inode.o file.o find-root.o free-space-tree.o common/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 \
|
common/fsfeatures.o kernel-lib/tables.o kernel-lib/raid56.o transaction.o \
|
||||||
delayed-ref.o
|
delayed-ref.o
|
||||||
cmds_objects = cmds/subvolume.o cmds/filesystem.o cmds/device.o cmds/scrub.o \
|
cmds_objects = cmds/subvolume.o cmds/filesystem.o cmds/device.o cmds/scrub.o \
|
||||||
cmds/inspect.o cmds/balance.o cmds/send.o cmds/receive.o \
|
cmds/inspect.o cmds/balance.o cmds/send.o cmds/receive.o \
|
||||||
|
|
|
@ -41,7 +41,7 @@
|
||||||
|
|
||||||
#include "interval_tree_generic.h"
|
#include "interval_tree_generic.h"
|
||||||
#include "common/help.h"
|
#include "common/help.h"
|
||||||
#include "fsfeatures.h"
|
#include "common/fsfeatures.h"
|
||||||
|
|
||||||
static int summarize = 0;
|
static int summarize = 0;
|
||||||
static unsigned unit_mode = UNITS_RAW;
|
static unsigned unit_mode = UNITS_RAW;
|
||||||
|
|
|
@ -40,7 +40,7 @@
|
||||||
#include "list_sort.h"
|
#include "list_sort.h"
|
||||||
#include "disk-io.h"
|
#include "disk-io.h"
|
||||||
#include "common/help.h"
|
#include "common/help.h"
|
||||||
#include "fsfeatures.h"
|
#include "common/fsfeatures.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* for btrfs fi show, we maintain a hash of fsids we've already printed.
|
* for btrfs fi show, we maintain a hash of fsids we've already printed.
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
#include "kerncompat.h"
|
#include "kerncompat.h"
|
||||||
#include <sys/utsname.h>
|
#include <sys/utsname.h>
|
||||||
#include <linux/version.h>
|
#include <linux/version.h>
|
||||||
#include "fsfeatures.h"
|
#include "common/fsfeatures.h"
|
||||||
#include "ctree.h"
|
#include "ctree.h"
|
||||||
#include "utils.h"
|
#include "utils.h"
|
||||||
|
|
|
@ -102,7 +102,7 @@
|
||||||
#include "convert/common.h"
|
#include "convert/common.h"
|
||||||
#include "convert/source-fs.h"
|
#include "convert/source-fs.h"
|
||||||
#include "kernel-lib/crc32c.h"
|
#include "kernel-lib/crc32c.h"
|
||||||
#include "fsfeatures.h"
|
#include "common/fsfeatures.h"
|
||||||
|
|
||||||
extern const struct btrfs_convert_operations ext2_convert_ops;
|
extern const struct btrfs_convert_operations ext2_convert_ops;
|
||||||
extern const struct btrfs_convert_operations reiserfs_convert_ops;
|
extern const struct btrfs_convert_operations reiserfs_convert_ops;
|
||||||
|
|
|
@ -43,7 +43,7 @@
|
||||||
#include "mkfs/common.h"
|
#include "mkfs/common.h"
|
||||||
#include "mkfs/rootdir.h"
|
#include "mkfs/rootdir.h"
|
||||||
#include "kernel-lib/crc32c.h"
|
#include "kernel-lib/crc32c.h"
|
||||||
#include "fsfeatures.h"
|
#include "common/fsfeatures.h"
|
||||||
|
|
||||||
static int verbose = 1;
|
static int verbose = 1;
|
||||||
|
|
||||||
|
|
2
utils.h
2
utils.h
|
@ -29,7 +29,7 @@
|
||||||
#include "sizes.h"
|
#include "sizes.h"
|
||||||
#include "common/messages.h"
|
#include "common/messages.h"
|
||||||
#include "ioctl.h"
|
#include "ioctl.h"
|
||||||
#include "fsfeatures.h"
|
#include "common/fsfeatures.h"
|
||||||
|
|
||||||
#define BTRFS_SCAN_MOUNTED (1ULL << 0)
|
#define BTRFS_SCAN_MOUNTED (1ULL << 0)
|
||||||
#define BTRFS_SCAN_LBLKID (1ULL << 1)
|
#define BTRFS_SCAN_LBLKID (1ULL << 1)
|
||||||
|
|
Loading…
Reference in New Issue