btrfs-progs: mkfs: 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:
David Sterba 2022-09-14 17:06:52 +02:00
parent c33c2c66b3
commit 61de520917
3 changed files with 10 additions and 10 deletions

View File

@ -15,10 +15,10 @@
*/
#include <unistd.h>
#include <uuid/uuid.h>
#include <blkid/blkid.h>
#include <fcntl.h>
#include <limits.h>
#include <uuid/uuid.h>
#include <blkid/blkid.h>
#include "kernel-shared/ctree.h"
#include "kernel-shared/disk-io.h"
#include "kernel-shared/volumes.h"

View File

@ -28,9 +28,10 @@
#include <limits.h>
#include <unistd.h>
#include <getopt.h>
#include <uuid/uuid.h>
#include <ctype.h>
#include <uuid/uuid.h>
#include <blkid/blkid.h>
#include "kernel-lib/list_sort.h"
#include "kernel-shared/ctree.h"
#include "kernel-shared/disk-io.h"
#include "kernel-shared/free-space-tree.h"
@ -42,16 +43,15 @@
#include "common/path-utils.h"
#include "common/device-utils.h"
#include "common/device-scan.h"
#include "kernel-lib/list_sort.h"
#include "common/help.h"
#include "common/rbtree-utils.h"
#include "common/parse-utils.h"
#include "mkfs/common.h"
#include "mkfs/rootdir.h"
#include "common/fsfeatures.h"
#include "common/box.h"
#include "common/units.h"
#include "check/qgroup-verify.h"
#include "mkfs/common.h"
#include "mkfs/rootdir.h"
struct mkfs_allocation {
u64 data;

View File

@ -28,15 +28,15 @@
#include <ftw.h>
#include "kernel-shared/ctree.h"
#include "kernel-shared/volumes.h"
#include "common/internal.h"
#include "kernel-shared/disk-io.h"
#include "common/messages.h"
#include "kernel-shared/transaction.h"
#include "common/internal.h"
#include "common/messages.h"
#include "common/utils.h"
#include "mkfs/rootdir.h"
#include "mkfs/common.h"
#include "common/send-utils.h"
#include "common/path-utils.h"
#include "mkfs/rootdir.h"
#include "mkfs/common.h"
static u32 fs_block_size;