commit | 6994ca367ce5160dea2718e0993542d148fa68f8 | [log] [tgz] |
---|---|---|
author | David Sterba <dsterba@suse.com> | Tue Sep 15 13:32:34 2020 +0200 |
committer | David Sterba <dsterba@suse.com> | Wed Oct 07 12:13:23 2020 +0200 |
tree | c1daf574e8a649711c3b94fbf8385ced6e7af8d3 | |
parent | e2f896b3180e3b5d34b1d174b931205a43072d17 [diff] |
btrfs: free-space-cache: use unaligned helpers to access data The free space inode stores the tracking data, checksums etc, using the io_ctl structure and moving the pointers. The data are generally aligned to at least 4 bytes (u32 for CRC) so it's not completely unaligned but for clarity we should use the proper helpers whenever a struct is initialized from io_ctl->cur pointer. Signed-off-by: David Sterba <dsterba@suse.com>