btrfs: separate out the eb and extent state leak helpers
authorJosef Bacik <josef@toxicpanda.com>
Fri, 9 Sep 2022 21:53:19 +0000 (17:53 -0400)
committerDavid Sterba <dsterba@suse.com>
Mon, 26 Sep 2022 10:28:02 +0000 (12:28 +0200)
commita40246e8afc0af3ffdee21854fb755c9364b8346
tree66ade6f050fc229e5719c23530a00e2b1e289310
parenta62a3bd9546b91a46bbb74f4b4a49815b64875b1
btrfs: separate out the eb and extent state leak helpers

Currently we have the add/del functions generic so that we can use them
for both extent buffers and extent states.  We want to separate this
code however, so separate these helpers into per-object helpers in
anticipation of the split.

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/extent_io.c