btrfs: move btrfs_crc32c_final into free-space-cache.c
authorJosef Bacik <josef@toxicpanda.com>
Fri, 25 Aug 2023 20:19:19 +0000 (16:19 -0400)
committerDavid Sterba <dsterba@suse.com>
Thu, 12 Oct 2023 14:44:02 +0000 (16:44 +0200)
commit102f2640a346e84cb5c2d19805a9dd38a776013c
treeb12861654889457b17743fdca4bd180a4f2a10d9
parent1c94674b25cfb2c51b73ff156ca5e08e0f9f398e
btrfs: move btrfs_crc32c_final into free-space-cache.c

This is the only place this helper is used, take it out of ctree.h and
move it into free-space-cache.c.

Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Reviewed-by: Anand Jain <anand.jain@oracle.com>
Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/ctree.h
fs/btrfs/free-space-cache.c