btrfs-progs: convert: use exact size for reading superblock
authorDavid Sterba <dsterba@suse.cz>
Tue, 7 Apr 2015 17:09:39 +0000 (19:09 +0200)
committerDavid Sterba <dsterba@suse.cz>
Tue, 7 Apr 2015 17:09:39 +0000 (19:09 +0200)
commit445ed1f11ce3c49c6ac180e90dcff569757c56dc
tree7757488dba24fed9c1aee951cbd4d766f5083ce3
parent54d316b5ecb1be4e7ae18160bb23c139b84951be
btrfs-progs: convert: use exact size for reading superblock

We've passed blocksize to prepare_system_chunk and used it to read and
write superblock. While this does not cause a bug (SUPER_INFO is
blocksize ie. page size on most arches), we should really use the
correct size.

Signed-off-by: David Sterba <dsterba@suse.cz>
btrfs-convert.c