diff options
author | David Sterba <dsterba@suse.com> | 2017-11-06 21:23:00 +0300 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2018-01-22 18:08:14 +0300 |
commit | 71a635516ca521931be418827150f782b0a03ae7 (patch) | |
tree | ee567dbd47313c1f74a4996b5c3373a6b0162ae3 /fs/btrfs/tree-log.c | |
parent | 343e4fc1c60971b0734de26dbbd475d433950982 (diff) | |
download | linux-71a635516ca521931be418827150f782b0a03ae7.tar.xz |
btrfs: switch to on-stack csum buffer in csum_tree_block
The maximum size of a checksum buffer is known, BTRFS_CSUM_SIZE, and we
don't have to allocate it dynamically. This code path is not used at all
as we have only the crc32c and use an on-stack buffer already.
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/tree-log.c')
0 files changed, 0 insertions, 0 deletions