diff options
author | Filipe Manana <fdmanana@suse.com> | 2024-12-16 14:38:30 +0300 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2025-01-13 16:53:17 +0300 |
commit | a6f0bcf9b190219fa2686247dfc99a44e597aa11 (patch) | |
tree | 0db291a122eb79db7183471b842de80cdb67fd00 /scripts/lib/kdoc/kdoc_files.py | |
parent | b815a78e17b9dd90398561ec7d91891d95f25301 (diff) | |
download | linux-a6f0bcf9b190219fa2686247dfc99a44e597aa11.tar.xz |
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 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions