OSDN Git Service

btrfs: make the extent buffer leak check per fs info
authorJosef Bacik <josef@toxicpanda.com>
Fri, 14 Feb 2020 21:11:40 +0000 (16:11 -0500)
committerDavid Sterba <dsterba@suse.com>
Mon, 23 Mar 2020 16:01:58 +0000 (17:01 +0100)
commit3fd6372758d91d8ba801e0733b17d082066a04ef
tree7f0bbf3a701a05d54595b3af01053769ae97bd57
parent7b7b74315b24dc064bc1c683659061c3d48f8668
btrfs: make the extent buffer leak check per fs info

I'm going to make the entire destruction of btrfs_root's controlled by
their refcount, so it will be helpful to notice if we're leaking their
eb's on umount.

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/ctree.h
fs/btrfs/disk-io.c
fs/btrfs/extent_io.c
fs/btrfs/extent_io.h