projects
/
platform
/
upstream
/
btrfs-progs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
39aa421
)
btrfs-progs: convert: move internal bg size definition
author
David Sterba
<dsterba@suse.com>
Wed, 1 Feb 2017 10:42:01 +0000
(11:42 +0100)
committer
David 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
patch
|
blob
|
history
utils.h
patch
|
blob
|
history
diff --git
a/convert/common.c
b/convert/common.c
index
7a9b596
..
999e0c2
100644
(file)
--- 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
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)