]> www.infradead.org Git - users/jedix/linux-maple.git/commit
btrfs: move select_delayed_ref() and export it
authorJosef Bacik <josef@toxicpanda.com>
Wed, 13 Nov 2024 18:20:37 +0000 (13:20 -0500)
committerDavid Sterba <dsterba@suse.com>
Mon, 13 Jan 2025 13:53:13 +0000 (14:53 +0100)
commit5473aeedffa49e036d9d313148e3fa96af85c0a6
tree633c24a28301be63fd943b440739cab824a78266
parent5bc55a333a2f7316b58edc7573e8e893f7acb532
btrfs: move select_delayed_ref() and export it

This helper is how we select the delayed ref to run once we've selected
the delayed ref head.  I need this exported to add a unit test for
delayed refs, and it's more natural home is in delayed-ref.c.  Rename it
to btrfs_select_delayed_ref and move it into delayed-ref.c.

Reviewed-by: Boris Burkov <boris@bur.io>
Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/delayed-ref.c
fs/btrfs/delayed-ref.h
fs/btrfs/extent-tree.c