]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: move btrfs_csum_ptr to inode.c
authorJosef Bacik <josef@toxicpanda.com>
Wed, 14 Sep 2022 23:04:45 +0000 (19:04 -0400)
committerDavid Sterba <dsterba@suse.com>
Mon, 26 Sep 2022 10:28:06 +0000 (12:28 +0200)
commit700846d1df0a2dc54b783b1fd231206df469fde4
tree894874334ae719a98e4fcff769f41599c273664d
parent465a8e2ed8b1942d0231d5343655ecb2bc18d74c
btrfs: move btrfs_csum_ptr to inode.c

This helper is only used in inode.c, move it locally to that file
instead of defining it in ctree.h.

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/inode.c