Btrfs: add ASSERT for block group's memory leak
authorLiu Bo <bo.li.liu@oracle.com>
Thu, 21 Jul 2016 00:33:44 +0000 (17:33 -0700)
committerChris Mason <clm@fb.com>
Thu, 25 Aug 2016 10:58:17 +0000 (03:58 -0700)
commitf3bca8028bd934e96257b8bd1143e6474fe98465
tree57752c3b349726c71b85d93f69c6cf5f4b0f098c
parentd8422ba334f9df16e071bc77707e55fd7f8446ae
Btrfs: add ASSERT for block group's memory leak

This adds several ASSERT()' s to report memory leak of block group cache.

Signed-off-by: Liu Bo <bo.li.liu@oracle.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Signed-off-by: Chris Mason <clm@fb.com>
fs/btrfs/extent-tree.c