aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/fs/btrfs/free-space-tree.c
diff options
context:
space:
mode:
authorJosef Bacik <josef@toxicpanda.com>2020-01-24 09:33:00 -0500
committerDavid Sterba <dsterba@suse.com>2020-03-23 17:01:33 +0100
commitbd647ce385ec110fe7796267b6555873e48e44eb (patch)
tree602f2951852f058de5c5debfb4f293f67cec8115 /fs/btrfs/free-space-tree.c
parentbtrfs: make the init of static elements in fs_info separate (diff)
downloadwireguard-linux-bd647ce385ec110fe7796267b6555873e48e44eb.tar.xz
wireguard-linux-bd647ce385ec110fe7796267b6555873e48e44eb.zip
btrfs: add a leak check for roots
Now that we're going to start relying on getting ref counting right for roots, add a list to track allocated roots and print out any roots that aren't freed up at free_fs_info time. Hide this behind CONFIG_BTRFS_DEBUG because this will just be used for developers to verify they aren't breaking things. Reviewed-by: Nikolay Borisov <nborisov@suse.com> Signed-off-by: Josef Bacik <josef@toxicpanda.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/free-space-tree.c')
0 files changed, 0 insertions, 0 deletions