summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/discard.c
diff options
context:
space:
mode:
authorJosef Bacik <josef@toxicpanda.com>2023-04-29 22:07:21 +0200
committerDavid Sterba <dsterba@suse.com>2023-06-19 13:59:25 +0200
commit016f9d0b744202eb170ed91e995fc757dd4adeeb (patch)
tree2f978c5d8d27ae05ba0a8089307221f10535c5fc /fs/btrfs/discard.c
parentbtrfs: add a btrfs_csum_type_size helper (diff)
downloadlinux-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