btrfs-progs: fix unaligned access calculating raid56 data
authorDavid Sterba <dsterba@suse.com>
Wed, 27 Jul 2016 20:30:52 +0000 (22:30 +0200)
committerDavid Sterba <dsterba@suse.com>
Thu, 28 Jul 2016 12:08:30 +0000 (14:08 +0200)
commit24f1713777f02300d0c48ddc142b2c711e462b65
tree76105362b4c476b7304a469d94c544d7753c527b
parent1c47e5b03922772c1a9429c7817cc728c99e2530
btrfs-progs: fix unaligned access calculating raid56 data

The extent_buffer::data might be unaligned wrt unsigned long, depends on
acutal layout of the structure and width of the int types. Use explicit
unaligned access helpers.

Reported-by: Anatoly Pugachev <matorola@gmail.com>
Signed-off-by: David Sterba <dsterba@suse.com>
volumes.c