diff options
author | Josef Bacik <josef@toxicpanda.com> | 2022-11-15 19:16:14 +0300 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2022-12-05 20:00:58 +0300 |
commit | 0e6c40ebbb18b32cf4b5fcb3173eaede89b9f440 (patch) | |
tree | 332aad1d9b70443f785cd84edccd563aa9c44096 /fs/btrfs/accessors.h | |
parent | 9b48addac406bd10afe447c2182b241dbde1d1a6 (diff) | |
download | linux-0e6c40ebbb18b32cf4b5fcb3173eaede89b9f440.tar.xz |
btrfs: move the csum helpers into ctree.h
These got moved because of copy+paste, but this code exists in ctree.c,
so move the declarations back into ctree.h.
Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/accessors.h')
-rw-r--r-- | fs/btrfs/accessors.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/fs/btrfs/accessors.h b/fs/btrfs/accessors.h index f0d017f9407f..066a662f38c3 100644 --- a/fs/btrfs/accessors.h +++ b/fs/btrfs/accessors.h @@ -892,11 +892,6 @@ BTRFS_SETGET_STACK_FUNCS(super_magic, struct btrfs_super_block, magic, 64); BTRFS_SETGET_STACK_FUNCS(super_uuid_tree_generation, struct btrfs_super_block, uuid_tree_generation, 64); -int btrfs_super_csum_size(const struct btrfs_super_block *s); -const char *btrfs_super_csum_name(u16 csum_type); -const char *btrfs_super_csum_driver(u16 csum_type); -size_t __attribute_const__ btrfs_get_num_csums(void); - /* struct btrfs_file_extent_item */ BTRFS_SETGET_STACK_FUNCS(stack_file_extent_type, struct btrfs_file_extent_item, type, 8); |