diff options
author | Zach Brown <zab@redhat.com> | 2013-08-14 16:16:37 -0700 |
---|---|---|
committer | David Sterba <dsterba@suse.cz> | 2013-09-03 19:41:05 +0200 |
commit | 2cd95f945a61c433bd8a2ac6be2909009ae69e20 (patch) | |
tree | 1bc23d6c1451ae2698784b717fbbcd2310a576d6 /cmds-check.c | |
parent | 51c5811583536b5c7c7e140aef9312fec28d75f0 (diff) |
btrfs-progs: fix endian bugs in chunk rebuilding
A disk_key was set by hand instead of using the endian helpers.
I *think* the second one is just a typo. The chunk's num_stripes was
already initialized from the record, but it's le16. So we'll set the
item's size based on the record's native num_stripes.
Signed-off-by: Zach Brown <zab@redhat.com>
Signed-off-by: David Sterba <dsterba@suse.cz>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
Diffstat (limited to 'cmds-check.c')
0 files changed, 0 insertions, 0 deletions