btrfs: open code btrfs_csum_ptr
authorJohannes Thumshirn <johannes.thumshirn@wdc.com>
Fri, 10 Feb 2023 10:50:08 +0000 (02:50 -0800)
committerDavid Sterba <dsterba@suse.com>
Mon, 17 Apr 2023 16:01:13 +0000 (18:01 +0200)
commitfa13661c48debbfb0a749e9328ea5648cf18fab4
tree1203245c0fcfac064f140b7d278bdaa9cb4203d3
parent74cc3600e8a7599557cf684ba8760d6cb2c911d8
btrfs: open code btrfs_csum_ptr

Remove btrfs_csum_ptr() and fold it into it's only caller.

Reviewed-by: Anand Jain <anand.jain@oracle.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/inode.c