mirror of
https://github.com/kdave/btrfs-progs
synced 2025-05-16 23:08:38 +00:00
btrfs-progs: mkfs: move compression level definitions to rootdir.h
The constants will be used in main() to validate command line options. Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
parent
65aa8a16c7
commit
9e641d7f76
@ -54,12 +54,6 @@
|
||||
#include "common/rbtree-utils.h"
|
||||
#include "mkfs/rootdir.h"
|
||||
|
||||
#define ZLIB_BTRFS_DEFAULT_LEVEL 3
|
||||
#define ZLIB_BTRFS_MAX_LEVEL 9
|
||||
|
||||
#define ZSTD_BTRFS_DEFAULT_LEVEL 3
|
||||
#define ZSTD_BTRFS_MAX_LEVEL 15
|
||||
|
||||
#define LZO_LEN 4
|
||||
|
||||
static u32 fs_block_size;
|
||||
|
@ -28,6 +28,12 @@
|
||||
#include "kernel-lib/list.h"
|
||||
#include "kernel-shared/compression.h"
|
||||
|
||||
#define ZLIB_BTRFS_DEFAULT_LEVEL 3
|
||||
#define ZLIB_BTRFS_MAX_LEVEL 9
|
||||
|
||||
#define ZSTD_BTRFS_DEFAULT_LEVEL 3
|
||||
#define ZSTD_BTRFS_MAX_LEVEL 15
|
||||
|
||||
struct btrfs_fs_info;
|
||||
struct btrfs_root;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user