btrfs: send: use helpers for unaligned access to header members
authorDavid Sterba <dsterba@suse.com>
Tue, 15 Sep 2020 08:54:23 +0000 (10:54 +0200)
committerDavid Sterba <dsterba@suse.com>
Wed, 7 Oct 2020 10:13:23 +0000 (12:13 +0200)
commite2f896b3180e3b5d34b1d174b931205a43072d17
tree8d859c9f1ff2a69b08b5efd2ba68890508082165
parent2c53a14dd30124de9468316933715deaf7443096
btrfs: send: use helpers for unaligned access to header members

The header is mapped onto the send buffer and thus its members may be
potentially unaligned so use the helpers instead of directly assigning
the pointers. This has worked so far but let's use the helpers to make
that clear.

Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/send.c