btrfs: move btrfs_print_data_csum_error into inode.c
authorJosef Bacik <josef@toxicpanda.com>
Wed, 14 Sep 2022 15:06:36 +0000 (11:06 -0400)
committerDavid Sterba <dsterba@suse.com>
Mon, 5 Dec 2022 17:00:37 +0000 (18:00 +0100)
commitf60acad355cf14ccccf420e6ea0ddd6de87cb210
tree12c7eb584c208ff31064ecfc74d4dcaa4b097ef7
parentf1e5c6185ca166cde0c7c2eeeab5d233ef315140
btrfs: move btrfs_print_data_csum_error into inode.c

This isn't used outside of inode.c, there's no reason to define it in
btrfs_inode.h. Drop the inline and add __cold as it's for errors that
are not in any hot path.

Reviewed-by: Qu Wenruo <wqu@suse.com>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.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/btrfs_inode.h
fs/btrfs/inode.c