commit | 71a635516ca521931be418827150f782b0a03ae7 | [log] [tgz] |
---|---|---|
author | David Sterba <dsterba@suse.com> | Mon Nov 06 19:23:00 2017 +0100 |
committer | David Sterba <dsterba@suse.com> | Mon Jan 22 16:08:14 2018 +0100 |
tree | ee567dbd47313c1f74a4996b5c3373a6b0162ae3 | |
parent | 343e4fc1c60971b0734de26dbbd475d433950982 [diff] |
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>