btrfs-progs: check: reorder includes
The preferred order: - system headers - standard headers - libraries - kernel library - kernel shared - common headers - other tools - own headers Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
parent
fe7a78f5df
commit
8802a81eb8
|
@ -21,9 +21,9 @@
|
|||
#define __BTRFS_CHECK_COMMON_H__
|
||||
|
||||
#include "kerncompat.h"
|
||||
#include "kernel-lib/list.h"
|
||||
#include "kernel-shared/ctree.h"
|
||||
#include "common/extent-cache.h"
|
||||
#include "kernel-lib/list.h"
|
||||
|
||||
struct block_group_record {
|
||||
struct cache_extent cache;
|
||||
|
|
23
check/main.c
23
check/main.c
|
@ -16,40 +16,41 @@
|
|||
* Boston, MA 021110-1307, USA.
|
||||
*/
|
||||
|
||||
#include "kerncompat.h"
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <unistd.h>
|
||||
#include <fcntl.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
#include <unistd.h>
|
||||
#include <getopt.h>
|
||||
#include <uuid/uuid.h>
|
||||
#include <time.h>
|
||||
#include <uuid/uuid.h>
|
||||
#include "kernel-lib/radix-tree.h"
|
||||
#include "kernel-shared/ctree.h"
|
||||
#include "kernel-shared/volumes.h"
|
||||
#include "common/repair.h"
|
||||
#include "kernel-shared/disk-io.h"
|
||||
#include "kernel-shared/print-tree.h"
|
||||
#include "common/task-utils.h"
|
||||
#include "common/device-utils.h"
|
||||
#include "kernel-shared/transaction.h"
|
||||
#include "common/utils.h"
|
||||
#include "cmds/commands.h"
|
||||
#include "kernel-shared/free-space-cache.h"
|
||||
#include "kernel-shared/free-space-tree.h"
|
||||
#include "common/rbtree-utils.h"
|
||||
#include "kernel-shared/backref.h"
|
||||
#include "kernel-shared/ulist.h"
|
||||
#include "common/repair.h"
|
||||
#include "common/task-utils.h"
|
||||
#include "common/device-utils.h"
|
||||
#include "common/utils.h"
|
||||
#include "common/rbtree-utils.h"
|
||||
#include "common/help.h"
|
||||
#include "common/open-utils.h"
|
||||
#include "cmds/commands.h"
|
||||
#include "mkfs/common.h"
|
||||
#include "check/common.h"
|
||||
#include "check/mode-common.h"
|
||||
#include "check/mode-original.h"
|
||||
#include "check/mode-lowmem.h"
|
||||
#include "check/qgroup-verify.h"
|
||||
#include "common/open-utils.h"
|
||||
#include "mkfs/common.h"
|
||||
|
||||
u64 bytes_used = 0;
|
||||
u64 total_csum_bytes = 0;
|
||||
|
|
|
@ -14,15 +14,16 @@
|
|||
* Boston, MA 021110-1307, USA.
|
||||
*/
|
||||
|
||||
#include "kerncompat.h"
|
||||
#include <time.h>
|
||||
#include "kernel-shared/ctree.h"
|
||||
#include "common/internal.h"
|
||||
#include "common/messages.h"
|
||||
#include "kernel-shared/transaction.h"
|
||||
#include "common/utils.h"
|
||||
#include "kernel-shared/disk-io.h"
|
||||
#include "kernel-shared/volumes.h"
|
||||
#include "kernel-shared/backref.h"
|
||||
#include "common/internal.h"
|
||||
#include "common/messages.h"
|
||||
#include "common/utils.h"
|
||||
#include "common/repair.h"
|
||||
#include "check/mode-common.h"
|
||||
|
||||
|
|
|
@ -14,17 +14,18 @@
|
|||
* Boston, MA 021110-1307, USA.
|
||||
*/
|
||||
|
||||
#include "kerncompat.h"
|
||||
#include <time.h>
|
||||
#include "kernel-shared/ctree.h"
|
||||
#include "common/repair.h"
|
||||
#include "kernel-shared/transaction.h"
|
||||
#include "common/messages.h"
|
||||
#include "kernel-shared/disk-io.h"
|
||||
#include "kernel-shared/backref.h"
|
||||
#include "kernel-shared/volumes.h"
|
||||
#include "common/repair.h"
|
||||
#include "common/messages.h"
|
||||
#include "common/internal.h"
|
||||
#include "common/utils.h"
|
||||
#include "common/device-utils.h"
|
||||
#include "kernel-shared/volumes.h"
|
||||
#include "check/mode-common.h"
|
||||
#include "check/mode-lowmem.h"
|
||||
|
||||
|
|
|
@ -18,21 +18,20 @@
|
|||
* Authors: Mark Fasheh <mfasheh@suse.de>
|
||||
*/
|
||||
|
||||
#include "kerncompat.h"
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <uuid/uuid.h>
|
||||
#include "kerncompat.h"
|
||||
#include "kernel-lib/radix-tree.h"
|
||||
#include "kernel-shared/ctree.h"
|
||||
#include "kernel-shared/disk-io.h"
|
||||
#include "kernel-shared/print-tree.h"
|
||||
#include "common/utils.h"
|
||||
#include "kernel-shared/ulist.h"
|
||||
#include "common/rbtree-utils.h"
|
||||
#include "kernel-shared/transaction.h"
|
||||
#include "common/utils.h"
|
||||
#include "common/rbtree-utils.h"
|
||||
#include "common/repair.h"
|
||||
|
||||
#include "qgroup-verify.h"
|
||||
#include "check/qgroup-verify.h"
|
||||
|
||||
static u64 *qgroup_item_count;
|
||||
|
||||
|
|
Loading…
Reference in a new issue