Eric Sandeen 6d49ba1b47 btrfs: move leak debug code to functions
Clean up the leak debugging in extent_io.c by moving
the debug code into functions.  This also removes the
list_heads used for debugging from the extent_buffer
and extent_state structures when debug is not enabled.

Since we need a global debug config to do that last
part, implement CONFIG_BTRFS_DEBUG to accommodate.

Thanks to Dave Sterba for the Kconfig bit.

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Reviewed-by: David Sterba <dsterba@suse.cz>
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
2013-05-06 15:55:16 -04:00
..
2013-05-06 15:54:49 -04:00
2013-05-06 15:54:34 -04:00
2013-05-06 15:54:34 -04:00
2012-10-09 09:14:45 -04:00
2013-02-20 09:37:17 -05:00
2013-03-14 14:57:10 -04:00
2013-02-01 14:24:23 -05:00
2013-02-01 14:24:23 -05:00
2013-05-06 15:55:00 -04:00
2012-10-09 09:19:57 -04:00