mirror of
https://github.com/kdave/btrfs-progs
synced 2024-12-22 06:10:06 +00:00
btrfs-progs: image: Use SZ_* to replace intermediate size
Signed-off-by: Qu Wenruo <wqu@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
parent
9a1d86a9ac
commit
0520abec4f
@ -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)) / \
|
||||
|
Loading…
Reference in New Issue
Block a user