btrfs-progs: Properly size the leafsize field in the mdrestore_struct struct
It's 32 bits as defined in ctree.h, but the struct had it as 64 bits. Found using MemorySanitizer. Signed-off-by: Adam Buchbinder <abuchbinder@google.com> Reviewed-by: Satoru Takeuchi <takeuchi_satoru@jp.fujitsu.com> Signed-off-by: David Sterba <dsterba@suse.cz>
This commit is contained in:
parent
4156fadc53
commit
f8c6dabca5
|
@ -128,7 +128,7 @@ struct mdrestore_struct {
|
||||||
struct rb_root chunk_tree;
|
struct rb_root chunk_tree;
|
||||||
struct list_head list;
|
struct list_head list;
|
||||||
size_t num_items;
|
size_t num_items;
|
||||||
u64 leafsize;
|
u32 leafsize;
|
||||||
u64 devid;
|
u64 devid;
|
||||||
u8 uuid[BTRFS_UUID_SIZE];
|
u8 uuid[BTRFS_UUID_SIZE];
|
||||||
u8 fsid[BTRFS_FSID_SIZE];
|
u8 fsid[BTRFS_FSID_SIZE];
|
||||||
|
|
Loading…
Reference in New Issue