btrfs-progs: convert: move internal bg size definition
authorDavid Sterba <dsterba@suse.com>
Wed, 1 Feb 2017 10:42:01 +0000 (11:42 +0100)
committerDavid Sterba <dsterba@suse.com>
Wed, 8 Mar 2017 12:00:46 +0000 (13:00 +0100)
Signed-off-by: David Sterba <dsterba@suse.com>
convert/common.c
utils.h

index 7a9b596..999e0c2 100644 (file)
@@ -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 f86101b..5861bfe 100644 (file)
--- 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)