btrfs: separate out the extent leak code
authorJosef Bacik <josef@toxicpanda.com>
Mon, 23 Sep 2019 14:05:17 +0000 (10:05 -0400)
committerDavid Sterba <dsterba@suse.com>
Mon, 18 Nov 2019 11:46:46 +0000 (12:46 +0100)
commit33ca832fefa5ebf66df983783522c888b851fbe4
treedd5ee311ff636160c1b5af0c8047954a82a2c563
parent34ffafdba12eee3e387694edd128e954fd355e8e
btrfs: separate out the extent leak code

We check both extent buffer and extent state leaks in the same function,
separate these two functions out so we can move them around.

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