diff options
author | David Sterba <dsterba@suse.com> | 2020-09-15 13:32:34 +0200 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2020-10-07 12:13:23 +0200 |
commit | 6994ca367ce5160dea2718e0993542d148fa68f8 (patch) | |
tree | c1daf574e8a649711c3b94fbf8385ced6e7af8d3 /fs/btrfs/struct-funcs.c | |
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>
Diffstat (limited to 'fs/btrfs/struct-funcs.c')
0 files changed, 0 insertions, 0 deletions