]> 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)
commitf119553fd3d2256b211d98fe9822b85510c59d8b
tree894874334ae719a98e4fcff769f41599c273664d
parent0e75f0054a2a16295352f453eb1683b4d1b940dd
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