]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
btrfs: inline checksum name and driver definitions
authorDavid Sterba <dsterba@suse.com>
Thu, 27 Feb 2020 20:00:45 +0000 (21:00 +0100)
committerDavid Sterba <dsterba@suse.com>
Mon, 23 Mar 2020 16:01:52 +0000 (17:01 +0100)
commit59a0fcdb489dae25416e93b9fc67cc97a6847f01
treedaabc5a4e44065a648cf6efd97d43e5baf38106f
parent11c67b1a40b0a4a7c712103508a63267c7ecd4b8
btrfs: inline checksum name and driver definitions

There's an unnecessary indirection in the checksum definition table,
pointer and the string itself. The strings are short and the overall
size of one entry is now 24 bytes.

Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Reviewed-by: Qu Wenruo <wqu@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/ctree.c