diff options
author | Josef Bacik <josef@toxicpanda.com> | 2023-04-29 22:07:21 +0200 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2023-06-19 13:59:25 +0200 |
commit | 016f9d0b744202eb170ed91e995fc757dd4adeeb (patch) | |
tree | 2f978c5d8d27ae05ba0a8089307221f10535c5fc /fs/btrfs/discard.c | |
parent | btrfs: add a btrfs_csum_type_size helper (diff) | |
download | linux-016f9d0b744202eb170ed91e995fc757dd4adeeb.tar.xz linux-016f9d0b744202eb170ed91e995fc757dd4adeeb.zip |
btrfs: rename del_ptr to btrfs_del_ptr and export it
This exists internal to ctree.c, however btrfs check needs to use it for
some of its operations. I'd rather not duplicate that code inside of
btrfs check as this is low level and I want to keep this code in one
place, so rename the function to btrfs_del_ptr and export it so that it
can be used inside of btrfs-progs safely. Add a comment to make sure
this doesn't get removed by a future cleanup.
Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/discard.c')
0 files changed, 0 insertions, 0 deletions