[PATCH v2 01/14] btrfs-progs: image: Use SZ_* to replace intermediate size

WenRuo Qu
2019-07-02T10:25:54Z

image/metadump.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/image/metadump.h b/image/metadump.h
index 8ace60f503d0..f85c9bcfb813 100644
--- a/image/metadump.h
+++ b/image/metadump.h
@@ -23,8 +23,8 @@
#include "ctree.h"

#define HEADER_MAGIC 0xbd5c25e27295668bULL
-#define MAX_PENDING_SIZE (256 * 1024)
-#define BLOCK_SIZE 1024
+#define MAX_PENDING_SIZE SZ_256K
+#define BLOCK_SIZE SZ_1K
#define BLOCK_MASK (BLOCK_SIZE - 1)

#define ITEMS_PER_CLUSTER ((BLOCK_SIZE - sizeof(struct meta_cluster)) / \
--
2.22.0