]> git.ipfire.org Git - thirdparty/linux.git/commit
btrfs: rename del_ptr to btrfs_del_ptr and export it
authorJosef Bacik <josef@toxicpanda.com>
Sat, 29 Apr 2023 20:07:21 +0000 (16:07 -0400)
committerDavid Sterba <dsterba@suse.com>
Mon, 19 Jun 2023 11:59:25 +0000 (13:59 +0200)
commit016f9d0b744202eb170ed91e995fc757dd4adeeb
tree2f978c5d8d27ae05ba0a8089307221f10535c5fc
parentb3cbfb0dd4a80c359701280f6acfa37131d8ee8b
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>
fs/btrfs/ctree.c
fs/btrfs/ctree.h