btrfs-progs: image: 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 be6043ecd2
commit fe7a78f5df
2 changed files with 8 additions and 9 deletions

View File

@ -16,32 +16,31 @@
* Boston, MA 021110-1307, USA.
*/
#include "kerncompat.h"
#include <sys/types.h>
#include <sys/stat.h>
#include <pthread.h>
#include <stdio.h>
#include <stdlib.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <unistd.h>
#include <dirent.h>
#include <zlib.h>
#include <getopt.h>
#include "kerncompat.h"
#include "crypto/crc32c.h"
#include <zlib.h>
#include "kernel-shared/ctree.h"
#include "kernel-shared/disk-io.h"
#include "kernel-shared/transaction.h"
#include "common/utils.h"
#include "kernel-shared/volumes.h"
#include "kernel-shared/extent_io.h"
#include "crypto/crc32c.h"
#include "common/box.h"
#include "common/utils.h"
#include "common/extent-cache.h"
#include "common/help.h"
#include "common/device-utils.h"
#include "common/open-utils.h"
#include "image/metadump.h"
#include "image/sanitize.h"
#include "common/box.h"
#define MAX_WORKER_THREADS (32)

View File

@ -15,12 +15,12 @@
*/
#include "kerncompat.h"
#include "kernel-shared/extent_io.h"
#include "common/internal.h"
#include "common/messages.h"
#include "common/utils.h"
#include "crypto/crc32c.h"
#include "image/sanitize.h"
#include "kernel-shared/extent_io.h"
/*
* Reverse CRC-32C table