]> git.baikalelectronics.ru Git - 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)
commit5f857606d2a6142c540027e7d1a4984b84f990b3
treedaabc5a4e44065a648cf6efd97d43e5baf38106f
parent7414a7b31a87c1bc2de613718ddb906229dc534a
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