]> 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)
commitf07bdfa521847eb443a2d7fecf8bef8597c6f5aa
treedaabc5a4e44065a648cf6efd97d43e5baf38106f
parent2b7983915d31a3b03dea6a0e8ad2dc23af217536
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