]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: move btrfs_ordered_sum_size into file-item.c
authorJosef Bacik <josef@toxicpanda.com>
Wed, 14 Sep 2022 23:04:47 +0000 (19:04 -0400)
committerDavid Sterba <dsterba@suse.com>
Mon, 26 Sep 2022 10:28:06 +0000 (12:28 +0200)
commit2b6433c7f620b61ba5fac52a63053f6c56483f80
tree392cc5c7e79c9182f59c7bc33c3f4b2e8749a3a4
parentd9d88fde56d388108c07e87630caeac59781dd3e
btrfs: move btrfs_ordered_sum_size into file-item.c

This is defined in ordered-data.h, but is only used in file-item.c.
Move this to file-item.c as it doesn't need to be global.

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/file-item.c
fs/btrfs/ordered-data.h