summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2017-02-01 11:42:01 +0100
committerDavid Sterba <dsterba@suse.com>2017-03-08 13:00:46 +0100
commit1f739d73e38a44a51f27e3b84ff50a9b08fcc399 (patch)
tree4f06609ed8be56c522997fc5c0e0e7ab1744c653
parent39aa42147a2431fb7f5425dfc3446088d97e8352 (diff)
btrfs-progs: convert: move internal bg size definition
Signed-off-by: David Sterba <dsterba@suse.com>
-rw-r--r--convert/common.c2
-rw-r--r--utils.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/convert/common.c b/convert/common.c
index 7a9b5962..999e0c27 100644
--- a/convert/common.c
+++ b/convert/common.c
@@ -22,6 +22,8 @@
#include "mkfs/common.h"
#include "convert/common.h"
+#define BTRFS_CONVERT_META_GROUP_SIZE SZ_32M
+
/*
* Reserve space from free_tree.
* The algorithm is very simple, find the first cache_extent with enough space
diff --git a/utils.h b/utils.h
index f86101b2..5861bfe6 100644
--- a/utils.h
+++ b/utils.h
@@ -28,8 +28,6 @@
#include "btrfs-list.h"
#include "sizes.h"
-#define BTRFS_CONVERT_META_GROUP_SIZE SZ_32M
-
#define BTRFS_SCAN_MOUNTED (1ULL << 0)
#define BTRFS_SCAN_LBLKID (1ULL << 1)