btrfs-progs: Properly size the leafsize field in the mdrestore_struct struct
authorAdam Buchbinder <abuchbinder@google.com>
Thu, 12 Jun 2014 22:57:33 +0000 (15:57 -0700)
committerDavid Sterba <dsterba@suse.cz>
Fri, 22 Aug 2014 12:43:09 +0000 (14:43 +0200)
commitf8c6dabca56c8aa277c0019fecb3c0169497323a
tree4ef43e504baaf523fc739292d9ce88b11303fd41
parent4156fadc5399adfb4681f01908a1927760d12bdc
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>
btrfs-image.c