aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorFilipe Manana <fdmanana@suse.com>2024-12-16 11:38:30 +0000
committerDavid Sterba <dsterba@suse.com>2025-01-13 14:53:17 +0100
commita6f0bcf9b190219fa2686247dfc99a44e597aa11 (patch)
tree0db291a122eb79db7183471b842de80cdb67fd00 /tools/perf/scripts/python
parentbtrfs: move abort_should_print_stack() to transaction.h (diff)
downloadwireguard-linux-a6f0bcf9b190219fa2686247dfc99a44e597aa11.tar.xz
wireguard-linux-a6f0bcf9b190219fa2686247dfc99a44e597aa11.zip
btrfs: move csum related functions from ctree.c into fs.c
The ctree module is about the implementation of the btree data structure and not a place holder for generic filesystem things like the csum algorithm details. Move the functions related to the csum algorithm details away from ctree.c and into fs.c, which is a far better place for them. Also fix missing punctuation in comments and change one multiline comment to a single line comment since everything fits in under 80 characters. For some reason this also slightly reduces the module's size. Before this change: $ size fs/btrfs/btrfs.ko text data bss dec hex filename 1782126 161045 16920 1960091 1de89b fs/btrfs/btrfs.ko After this change: $ size fs/btrfs/btrfs.ko text data bss dec hex filename 1782094 161045 16920 1960059 1de87b fs/btrfs/btrfs.ko Reviewed-by: Qu Wenruo <wqu@suse.com> Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com> Signed-off-by: Filipe Manana <fdmanana@suse.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions