]> git.ipfire.org Git - thirdparty/linux.git/commit
btrfs: merge btrfs_del_delalloc_inode() helpers
authorDavid Sterba <dsterba@suse.com>
Thu, 22 Feb 2024 08:56:17 +0000 (09:56 +0100)
committerDavid Sterba <dsterba@suse.com>
Mon, 4 Mar 2024 15:24:54 +0000 (16:24 +0100)
commit5a8a57f9a427bf1962dfd2e24a02608411fc1a51
tree16690ea5404f7778f037440ee4bde0d4244783c0
parent1cdeac6da33f220f108394ce81e8c588c8fbc5d9
btrfs: merge btrfs_del_delalloc_inode() helpers

The helpers btrfs_del_delalloc_inode() and __btrfs_del_delalloc_inode()
don't follow the pattern when the "__" helper does a special case and
are in fact reversed regarding the naming. We can merge them into one as
there's only one place that needs to be open coded.

Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Reviewed-by: Qu Wenruo <wqu@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/btrfs_inode.h
fs/btrfs/disk-io.c
fs/btrfs/inode.c