]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitaf68a850d89a922873680716622fec9baf3d4f47
tree8d859c9f1ff2a69b08b5efd2ba68890508082165
parent0777af5ce77bb275f14eb6e56a67cba4263dc24d
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