]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit71ac6d992dc8315978815c2cfd3722a5c5e5c419
tree7f0bbf3a701a05d54595b3af01053769ae97bd57
parent84cc06354af5c62d5e64635993cfa348f018a00a
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